q/tests/programs/op-assign.q
2025-02-17 14:31:47 +01:00

9 lines
74 B
Plaintext

main() {
f(10)
}
f(new int) {
old := new
new -= 1
assert new != old
}