Improved division split
This commit is contained in:
parent
4ded8260b3
commit
8d629dda72
11 changed files with 84 additions and 64 deletions
8
tests/programs/modulo-assign.q
Normal file
8
tests/programs/modulo-assign.q
Normal file
|
@ -0,0 +1,8 @@
|
|||
main() {
|
||||
x := 256
|
||||
x %= 100
|
||||
assert x == 56
|
||||
|
||||
x %= 10
|
||||
assert x == 6
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue