summaryrefslogtreecommitdiff
path: root/test/parse/expr/bad-simd-shuffle-nat-expected.txt
blob: d5375329752cd32fd3b62aceba342259a1fe3cf8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
;;; TOOL: wat2wasm
;;; ERROR: 1
(module
  (func
    v128.const i32x4 0xff00ff01 0xff00ff0f 0xff00ffff 0xff00ff7f
    v128.const i32x4 0x00550055 0x00550055 0x00550055 0x00550155
    i8x16.shuffle $0x01020304 0x05060708 0x090a0b0c 0x00000000
    ))

(;; STDERR ;;;
out/test/parse/expr/bad-simd-shuffle-nat-expected.txt:7:19: error: unexpected token "$0x01020304", expected a natural number in range [0, 32).
    i8x16.shuffle $0x01020304 0x05060708 0x090a0b0c 0x00000000
                  ^^^^^^^^^^^
;;; STDERR ;;)