q/tests/programs/square-sum.q

7 lines
No EOL
86 B
Text

main() {
assert f(2, 3) == 25
}
f(x int, y int) -> int {
return (x + y) * (x + y)
}