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