summaryrefslogtreecommitdiff
path: root/test/parse/expr/return-if.txt
blob: 0608d917efedea246502e4f53e3bc372d848bba8 (plain)
1
2
3
4
5
6
7
8
9
10
;;; TOOL: wat2wasm
(module
  (func (result i32)
    i32.const 1
    if (result i32)
       i32.const 2
    else
       i32.const 3
    end
    return))