Added sum test
All checks were successful
/ test (push) Successful in 15s

This commit is contained in:
Eduard Urbach 2025-07-04 11:36:26 +02:00
parent 36f76170f5
commit 7a8cb43e9f
Signed by: akyoto
GPG key ID: 49226B848C78F6C8
6 changed files with 66 additions and 6 deletions

10
tests/sum.q Normal file
View file

@ -0,0 +1,10 @@
main() {
t1 := sum(1, 2)
t2 := sum(3, 4)
t3 := sum(t1, t2)
syscall(60, t3)
}
sum(a int, b int) -> int {
return a + b
}