lama_byterun/regression/test070.expr
2019-12-23 21:05:57 +03:00

15 lines
No EOL
218 B
Text

fun f (x) {
fun inner1 (y) {
return if y == 0 then 0 else inner2 (y-1) fi
}
fun inner2 (y) {
return if y == 0 then 0 else inner1 (y-1) fi
}
return inner1 (x)
}
local n = read ();
write (f (5))