summaryrefslogtreecommitdiff
path: root/test/parse/module/bad-element-followed-by-illegal-expression.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/parse/module/bad-element-followed-by-illegal-expression.txt')
-rw-r--r--test/parse/module/bad-element-followed-by-illegal-expression.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/parse/module/bad-element-followed-by-illegal-expression.txt b/test/parse/module/bad-element-followed-by-illegal-expression.txt
new file mode 100644
index 00000000..5243aedc
--- /dev/null
+++ b/test/parse/module/bad-element-followed-by-illegal-expression.txt
@@ -0,0 +1,9 @@
+;;; TOOL: wat2wasm
+;;; ARGS: --enable-gc
+;;; ERROR: 1
+( elem f64 ( ) )
+(;; STDERR ;;;
+out/test/parse/module/bad-element-followed-by-illegal-expression.txt:4:12: error: unexpected token (, expected ).
+( elem f64 ( ) )
+ ^
+;;; STDERR ;;)