summaryrefslogtreecommitdiff
path: root/test/parse
diff options
context:
space:
mode:
Diffstat (limited to 'test/parse')
-rw-r--r--test/parse/expr/bad-const-v128-i16x8-overflow.txt4
-rw-r--r--test/parse/expr/bad-const-v128-i8x16-overflow.txt4
-rw-r--r--test/parse/expr/bad-const-v128-type-i32-expected.txt1
3 files changed, 4 insertions, 5 deletions
diff --git a/test/parse/expr/bad-const-v128-i16x8-overflow.txt b/test/parse/expr/bad-const-v128-i16x8-overflow.txt
index 0db692ff..e0ba0dbc 100644
--- a/test/parse/expr/bad-const-v128-i16x8-overflow.txt
+++ b/test/parse/expr/bad-const-v128-i16x8-overflow.txt
@@ -6,10 +6,10 @@
(func v128.const i16x8 -32768 -32769 32767 65535 65536 0 0 0)
)
(;; STDERR ;;;
-out/test/parse/expr/bad-const-v128-i16x8-overflow.txt:5:52: error: literal "65536" out-of-bounds of i16
+out/test/parse/expr/bad-const-v128-i16x8-overflow.txt:5:52: error: invalid literal "65536"
(func v128.const i16x8 -32768 -32767 32767 65535 65536 0 0 0)
^^^^^
-out/test/parse/expr/bad-const-v128-i16x8-overflow.txt:6:33: error: literal "-32769" out-of-bounds of i16
+out/test/parse/expr/bad-const-v128-i16x8-overflow.txt:6:33: error: invalid literal "-32769"
(func v128.const i16x8 -32768 -32769 32767 65535 65536 0 0 0)
^^^^^^
;;; STDERR ;;)
diff --git a/test/parse/expr/bad-const-v128-i8x16-overflow.txt b/test/parse/expr/bad-const-v128-i8x16-overflow.txt
index 4edbd826..d50ebd78 100644
--- a/test/parse/expr/bad-const-v128-i8x16-overflow.txt
+++ b/test/parse/expr/bad-const-v128-i8x16-overflow.txt
@@ -6,10 +6,10 @@
(func v128.const i8x16 -127 -129 128 255 256 0 0 0 0 0 0 0 0 0 0 0)
)
(;; STDERR ;;;
-out/test/parse/expr/bad-const-v128-i8x16-overflow.txt:5:44: error: literal "256" out-of-bounds of i8
+out/test/parse/expr/bad-const-v128-i8x16-overflow.txt:5:44: error: invalid literal "256"
(func v128.const i8x16 -127 -128 128 255 256 0 0 0 0 0 0 0 0 0 0 0)
^^^
-out/test/parse/expr/bad-const-v128-i8x16-overflow.txt:6:31: error: literal "-129" out-of-bounds of i8
+out/test/parse/expr/bad-const-v128-i8x16-overflow.txt:6:31: error: invalid literal "-129"
(func v128.const i8x16 -127 -129 128 255 256 0 0 0 0 0 0 0 0 0 0 0)
^^^^
;;; STDERR ;;)
diff --git a/test/parse/expr/bad-const-v128-type-i32-expected.txt b/test/parse/expr/bad-const-v128-type-i32-expected.txt
index 14e13bcb..e990f820 100644
--- a/test/parse/expr/bad-const-v128-type-i32-expected.txt
+++ b/test/parse/expr/bad-const-v128-type-i32-expected.txt
@@ -5,7 +5,6 @@
(module (func v128.const i64 0x12345678 0x00000000 0x00000000 0xabcd3478))
(;; STDERR ;;;
out/test/parse/expr/bad-const-v128-type-i32-expected.txt:4:26: error: Unexpected type at start of simd constant. Expected one of: i8x16, i16x8, i32x4, i64x2, f32x4, f64x2. Found "NAT".
-
(module (func v128.const 0x12345678 0x00000000 0x00000000 0xabcd3478))
^^^^^^^^^^
;;; STDERR ;;)