summaryrefslogtreecommitdiff
path: root/test/passes/O.wast
blob: e93a5b8d94af53fb68c8c37da5a3a5c0ee29e715 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
(module
  (func $ret (result i32)
    (block $out i32
      (drop (call $ret))
      (if (call $ret)
        (return
          (return
            (i32.const 1)
          )
        )
      )
      (drop (br_if $out (i32.const 999) (i32.const 1)))
      (unreachable)
    )
  )
)