Added more tests
This commit is contained in:
3
tests/programs/empty.q
Normal file
3
tests/programs/empty.q
Normal file
@ -0,0 +1,3 @@
|
||||
main() {
|
||||
|
||||
}
|
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)
|
||||
}
|
Reference in New Issue
Block a user