Improved code generation
This commit is contained in:
parent
1204591cdc
commit
4386392844
23 changed files with 201 additions and 95 deletions
12
tests/programs/param.q
Normal file
12
tests/programs/param.q
Normal file
|
@ -0,0 +1,12 @@
|
|||
main() {
|
||||
syscall(60, f(1))
|
||||
}
|
||||
|
||||
f(x) {
|
||||
y := g()
|
||||
return x + y
|
||||
}
|
||||
|
||||
g() {
|
||||
return 2
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue