summaryrefslogtreecommitdiff
path: root/test/parse/expr/bad-const-v128-nat-overflow.txt
blob: 0c67a5cadb8f0019714c75bfaf7899b12ab1343c (plain)
1
2
3
4
5
6
7
8
9
10
;;; TOOL: wat2wasm
;;; ARGS: --enable-simd
;;; ERROR: 1
(module
  (func v128.const i32x4 0x12345678 0x123 4294967296 0xabcd3478))
(;; STDERR ;;;
out/test/parse/expr/bad-const-v128-nat-overflow.txt:5:43: error: invalid literal "4294967296"
  (func v128.const i32x4 0x12345678 0x123 4294967296 0xabcd3478))
                                          ^^^^^^^^^^
;;; STDERR ;;)