summaryrefslogtreecommitdiff
path: root/test/parse/expr/bad-const-i32-garbage.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/parse/expr/bad-const-i32-garbage.txt')
-rw-r--r--test/parse/expr/bad-const-i32-garbage.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/parse/expr/bad-const-i32-garbage.txt b/test/parse/expr/bad-const-i32-garbage.txt
new file mode 100644
index 00000000..ccf6814e
--- /dev/null
+++ b/test/parse/expr/bad-const-i32-garbage.txt
@@ -0,0 +1,6 @@
+;;; ERROR: 1
+(module (func (i32.const one-hundred)))
+(;; STDERR ;;;
+parse/expr/bad-const-i32-garbage.txt:2:26: unexpected token "one-hundred"
+parse/expr/bad-const-i32-garbage.txt:2:37: syntax error, unexpected ), expecting INT or FLOAT
+;;; STDERR ;;)