Added nested calls test

This commit is contained in:
Eduard Urbach 2024-07-05 11:56:57 +02:00
parent 78ddfa6dbc
commit 881cb0a81c
Signed by: eduard
GPG key ID: 49226B848C78F6C8
4 changed files with 13 additions and 9 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
}