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