summaryrefslogtreecommitdiff
path: root/test/parse/expr/bad-select-multi.txt
blob: 4c53e30f1362d454ce3899adf019c72341410ee6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
;;; TOOL: wat2wasm
;;; ERROR: 1
(module
  (func
    i32.const 0
    i32.const 0
    i32.const 0
    i32.const 0
    i32.const 0
    select (result i32 i32)
    unreachable
    ))
(;; STDERR ;;;
out/test/parse/expr/bad-select-multi.txt:10:5: error: invalid arity in select instruction: 2.
    select (result i32 i32)
    ^^^^^^
;;; STDERR ;;)