Files
cs420/examples/ir3/return_void.ir
Jeehoon Kang a12db7949c Update tests
2020-06-12 05:05:23 +09:00

22 lines
210 B
Plaintext

fun unit @foo () {
init:
bid: b0
allocations:
block b0:
ret unit:unit
}
fun i32 @main () {
init:
bid: b0
allocations:
block b0:
%b0:i0:unit = call @foo:[ret:unit params:()]*()
ret 1:i32
}