summaryrefslogtreecommitdiff
path: root/test/parse/module/bad-import-func-not-param.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/parse/module/bad-import-func-not-param.txt')
-rw-r--r--test/parse/module/bad-import-func-not-param.txt10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/parse/module/bad-import-func-not-param.txt b/test/parse/module/bad-import-func-not-param.txt
new file mode 100644
index 00000000..551cd8a1
--- /dev/null
+++ b/test/parse/module/bad-import-func-not-param.txt
@@ -0,0 +1,10 @@
+;;; ERROR: 1
+(module (import "foo" "bar" (func (parump i32))))
+(;; STDERR ;;;
+parse/module/bad-import-func-not-param.txt:2:36: unexpected token "parump"
+(module (import "foo" "bar" (func (parump i32))))
+ ^^^^^^
+parse/module/bad-import-func-not-param.txt:2:43: syntax error, unexpected VALUE_TYPE, expecting TYPE or PARAM or RESULT
+(module (import "foo" "bar" (func (parump i32))))
+ ^^^
+;;; STDERR ;;)