q/tests/programs/reassign.q

6 lines
No EOL
52 B
Text

main() {
x := 1
y := x + 1
x = 2
assert y == 2
}