summaryrefslogtreecommitdiff
path: root/test/parse/module/bad-array-no-fields.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/parse/module/bad-array-no-fields.txt')
-rw-r--r--test/parse/module/bad-array-no-fields.txt9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/parse/module/bad-array-no-fields.txt b/test/parse/module/bad-array-no-fields.txt
new file mode 100644
index 00000000..d01e4d31
--- /dev/null
+++ b/test/parse/module/bad-array-no-fields.txt
@@ -0,0 +1,9 @@
+;;; TOOL: wat2wasm
+;;; ARGS: --enable-gc
+;;; ERROR: 1
+(type (array))
+(;; STDERR ;;;
+out/test/parse/module/bad-array-no-fields.txt:4:13: error: unexpected token ")", expected i32, i64, f32, f64, v128 or anyref.
+(type (array))
+ ^
+;;; STDERR ;;)