Improved code generation
This commit is contained in:
11
tests/programs/return.q
Normal file
11
tests/programs/return.q
Normal file
@ -0,0 +1,11 @@
|
||||
main() {
|
||||
syscall(60, f(2))
|
||||
}
|
||||
|
||||
f(x) {
|
||||
return x + 1 + g(x)
|
||||
}
|
||||
|
||||
g(x) {
|
||||
return x + 1
|
||||
}
|
Reference in New Issue
Block a user