waffle/wasm_tests/test2.wat

13 lines
236 B
Plaintext
Raw Normal View History

2022-11-29 00:08:08 -06:00
(module
(func (param i32) (result i32)
local.get 0
if (result i32)
i32.const 1
local.get 0
i32.add
else
i32.const 2
local.get 0
i32.add
end))