Added more tests
This commit is contained in:
parent
feebfe65bb
commit
795935ddfb
7 changed files with 61 additions and 72 deletions
8
tests/programs/square-sum.q
Normal file
8
tests/programs/square-sum.q
Normal file
|
@ -0,0 +1,8 @@
|
|||
main() {
|
||||
x := f(2, 3)
|
||||
syscall(60, x)
|
||||
}
|
||||
|
||||
f(x, y) {
|
||||
return (x + y) * (x + y)
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue