wasmer/examples/single_pass_tests/tee_local.wat
2019-03-06 01:16:36 +08:00

12 lines
235 B
Plaintext

(module
(func $main (export "main")
(local $x i32)
(tee_local $x (i32.const 3))
(i32.add (i32.const 4))
(if (i32.eq (i32.const 7))
(then)
(else unreachable)
)
)
)