Fixed incorrect register move
This commit is contained in:
9
tests/programs/op-assign.q
Normal file
9
tests/programs/op-assign.q
Normal file
@ -0,0 +1,9 @@
|
||||
main() {
|
||||
f(10)
|
||||
}
|
||||
|
||||
f(new) {
|
||||
old := new
|
||||
new -= 1
|
||||
assert new != old
|
||||
}
|
Reference in New Issue
Block a user