Added more tests
This commit is contained in:
parent
76c916018a
commit
3d245a15f9
6 changed files with 52 additions and 8 deletions
12
tests/programs/64-bit.q
Normal file
12
tests/programs/64-bit.q
Normal file
|
@ -0,0 +1,12 @@
|
|||
main() {
|
||||
x := 20000000000
|
||||
assert x == 20000000000
|
||||
x -= 10000000000
|
||||
assert x == 10000000000
|
||||
x -= 10000000000
|
||||
assert x == 0
|
||||
x -= 10000000000
|
||||
assert x == -10000000000
|
||||
x -= 10000000000
|
||||
assert x == -20000000000
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue