summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/wasm/spec/break-drop.wast
blob: e10df667154f04f9bcd8b5f97f19e125cd8a3693 (plain)
1
2
3
4
5
6
7
8
9
(module
  (func (export "br") (block (br 0)))
  (func (export "br_if") (block (br_if 0 (i32.const 1))))
  (func (export "br_table") (block (br_table 0 (i32.const 0))))
)

(assert_return (invoke "br"))
(assert_return (invoke "br_if"))
(assert_return (invoke "br_table"))