q/tests/programs/nested-calls.q

7 lines
No EOL
58 B
Text

main() {
assert f(f(f(1))) == 4
}
f(x) {
return x + 1
}