Added more tests

This commit is contained in:
2024-07-03 11:59:36 +02:00
parent feebfe65bb
commit 795935ddfb
7 changed files with 61 additions and 72 deletions

3
tests/programs/empty.q Normal file
View File

@ -0,0 +1,3 @@
main() {
}

View File

@ -0,0 +1,8 @@
main() {
x := f(2, 3)
syscall(60, x)
}
f(x, y) {
return (x + y) * (x + y)
}