summaryrefslogtreecommitdiff
path: root/test/parse/expr/bad-const-i32-overflow.txt
diff options
context:
space:
mode:
Diffstat (limited to 'test/parse/expr/bad-const-i32-overflow.txt')
-rw-r--r--test/parse/expr/bad-const-i32-overflow.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/parse/expr/bad-const-i32-overflow.txt b/test/parse/expr/bad-const-i32-overflow.txt
new file mode 100644
index 00000000..0ea686a2
--- /dev/null
+++ b/test/parse/expr/bad-const-i32-overflow.txt
@@ -0,0 +1,5 @@
+;;; ERROR: 1
+(module (func (i32.const 4294967296)))
+(;; STDERR ;;;
+parse/expr/bad-const-i32-overflow.txt:2:26: invalid literal "4294967296"
+;;; STDERR ;;)