12 lines
99 B
Plaintext
Raw Normal View History

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