Added operator precedence test

This commit is contained in:
Eduard Urbach 2024-07-05 10:10:09 +02:00
parent 62057704f3
commit c13a70c958
No known key found for this signature in database
GPG key ID: C874F672B1AF20C0
3 changed files with 8 additions and 2 deletions

View file

@ -0,0 +1,11 @@
main() {
exit(f(1) + f(2) + f(3))
}
exit(code) {
syscall(60, code)
}
f(x) {
return x + 1
}