diff options
Diffstat (limited to 'tests/basics/int_small.py')
-rw-r--r-- | tests/basics/int_small.py | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/basics/int_small.py b/tests/basics/int_small.py index 496e830d26..4d47104370 100644 --- a/tests/basics/int_small.py +++ b/tests/basics/int_small.py @@ -24,6 +24,17 @@ print(-1073741823) # Operations tests +# compile-time constexprs +print(1 + 3) +print(3 - 2) +print(2 * 3) +print(1 & 3) +print(1 | 2) +print(1 ^ 3) +print(+3) +print(-3) +print(~3) + a = 0x3fffff print(a) a *= 0x10 |