waffle/wasm_tests/test2.wat
Chris Fallin 3bde79a15d WIP.
2022-11-28 22:08:08 -08:00

13 lines
236 B
Plaintext

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