Add tests for parsing call and return.
This commit is contained in:
11
tests/parser/call.cton.ref
Normal file
11
tests/parser/call.cton.ref
Normal file
@@ -0,0 +1,11 @@
|
||||
function mini() {
|
||||
ebb0:
|
||||
return
|
||||
}
|
||||
|
||||
function r1() -> i32, f32 {
|
||||
ebb0:
|
||||
v0 = iconst.i32 3
|
||||
v1 = f32const 0.0
|
||||
return v0, v1
|
||||
}
|
||||
Reference in New Issue
Block a user