Files
wasmtime/cranelift/filetests/filetests/interpreter/add.clif
2020-05-07 16:51:09 -07:00

14 lines
189 B
Plaintext

test interpret
function %add() -> i32 {
block0:
v0 = iconst.i32 40
v1 = iconst.i32 2
v2 = iadd v0, v1
jump block1(v2)
block1(v3: i32):
return v3
}
; run: %add() == 42