Added types
This commit is contained in:
parent
60a920734d
commit
188b85fdce
33 changed files with 113 additions and 92 deletions
12
tests/programs/int64.q
Normal file
12
tests/programs/int64.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