Added more tests

This commit is contained in:
2024-07-31 15:24:21 +02:00
parent 76c916018a
commit 3d245a15f9
6 changed files with 52 additions and 8 deletions

12
tests/programs/64-bit.q Normal file
View 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
}