summaryrefslogtreecommitdiff
path: root/test/parse/expr/bad-simd-shuffle-lane-index-overflow2.txt
blob: 8f4d3f52c2f2ddcf93dc2b17bdf4e6bc9e94e533 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
;;; TOOL: wat2wasm
;;; ERROR: 1
(module
  (func
    v128.const i32x4 0xff00ff01 0xff00ff0f 0xff00ffff 0xff00ff7f
    v128.const i32x4 0x00550055 0x00550055 0x00550055 0x00550155
    i8x16.shuffle 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 33
    drop
    ))

(;; STDERR ;;;
out/test/parse/expr/bad-simd-shuffle-lane-index-overflow2.txt:7:5: error: lane index must be less than 32 (got 33)
    i8x16.shuffle 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 33
    ^^^^^^^^^^^^^
;;; STDERR ;;)