blob: 44cb713d0817c8a757368163ce633c8a9607292c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
;;; TOOL: wat2wasm
;;; ERROR: 1
(module
(func
i32.const 1
if (result i32 i32)
i32.const 1
i32.const 2
else
i32.const 3
i32.const 4
end
drop
drop)
(func
i32.const 1
i32.const 2
if (param i32)
drop
else
drop
end))
(;; STDERR ;;;
out/test/parse/expr/bad-if-sig-multi.txt:6:5: error: multiple result values not currently supported.
if (result i32 i32)
^^
out/test/parse/expr/bad-if-sig-multi.txt:19:5: error: if params not currently supported.
if (param i32)
^^
;;; STDERR ;;)
|