;;; TOOL: wast2json ;;; ERROR: 1 (module (func $foo (result i32) i32.const 0) (export "foo" (func $foo))) (assert_return (invoke "foo" (i32.const 0)) (i32.const 0)) (;; STDERR ;;; tests/local/parse/assert/bad-assertreturn-too-many.txt:7:17: error: too many arguments to function. got 1, expected 0 (assert_return (invoke "foo" (i32.const 0)) (i32.const 0)) ^ ;;; STDERR ;;)