wasmer/tests/spectests/break-drop.wast
2020-04-03 14:24:40 -07:00

10 lines
270 B
Plaintext

(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"))