summaryrefslogtreecommitdiff
path: root/test/interp/spec/func-param-after-body.fail.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/interp/spec/func-param-after-body.fail.txt')
-rw-r--r--test/interp/spec/func-param-after-body.fail.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/interp/spec/func-param-after-body.fail.txt b/test/interp/spec/func-param-after-body.fail.txt
new file mode 100644
index 00000000..c9c98bf2
--- /dev/null
+++ b/test/interp/spec/func-param-after-body.fail.txt
@@ -0,0 +1,10 @@
+;;; ERROR: 1
+;;; TOOL: run-interp-spec
+;;; STDIN_FILE: third_party/testsuite/func-param-after-body.fail.wast
+(;; STDERR ;;;
+Error running "sexpr-wasm":
+third_party/testsuite/func-param-after-body.fail.wast:1:22: syntax error, unexpected PARAM
+(module (func (nop) (param i32)))
+ ^^^^^
+
+;;; STDERR ;;)