q/tests/programs/reuse.q

7 lines
No EOL
67 B
Text

main() {
assert f(1) == 3
}
f(x int) -> int {
return x + 1 + x
}