summaryrefslogtreecommitdiff
path: root/test/parse/expr/bad-const-v128-i16x8-overflow.txt
blob: f0db4a95123beede30845db31a4bd1e9e8402d19 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
;;; TOOL: wat2wasm
;;; ERROR: 1
(module
  (func v128.const i16x8 -32768 -32767 32767 65535 65536 0 0 0)
  (func v128.const i16x8 -32768 -32769 32767 65535 65536 0 0 0)
)
(;; STDERR ;;;
out/test/parse/expr/bad-const-v128-i16x8-overflow.txt:4: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:5:33: error: invalid literal "-32769"
  (func v128.const i16x8 -32768 -32769 32767 65535 65536 0 0 0)
                                ^^^^^^
;;; STDERR ;;)