Commit 7074f257 authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

tests/int-long.py: Try to expose issue with recent "&" optimization.

parent 561e4259
......@@ -11,7 +11,7 @@ print(b - a)
#print(a * b)
print(a // b)
print(a % b)
print(a & b)
print("&", a & b)
print(a | b)
print(a ^ b)
print(a << 3)
......@@ -32,7 +32,7 @@ print(a)
a |= b
print(a)
a &= b
print(a)
print("&=", a)
a <<= 5
print(a)
a >>= 1
......@@ -44,3 +44,11 @@ b = a
a += 1
print(a)
print(b)
# Bitwise ops on 64-bit
a = 0x1ffffffffffffffff
b = 0x10000000000000000
print("&", a & b)
print(a | b)
print(a ^ b)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment