Added fibonacci example
This commit is contained in:
parent
cbbceedc4d
commit
c2b763ab67
11 changed files with 107 additions and 16 deletions
12
tests/programs/parameters.q
Normal file
12
tests/programs/parameters.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