11 lines
105 B
Plaintext
Raw Normal View History

2024-07-05 14:31:33 +00:00
main() {
2024-07-28 16:47:13 +00:00
assert f(2) == 6
2024-07-05 14:31:33 +00:00
}
2024-08-05 16:47:24 +00:00
f(x Int) -> Int {
2024-07-05 14:31:33 +00:00
return x + 1 + g(x)
}
2024-08-05 16:47:24 +00:00
g(x Int) -> Int {
2024-07-05 14:31:33 +00:00
return x + 1
}