q/tests/programs/negation.q

7 lines
No EOL
52 B
Text

main() {
assert f(-32) == 32
}
f(x) {
return -x
}