objint_longlong: Add regression test for improper inplace op implementation.
This commit is contained in:
parent
c070ff24a9
commit
42901554db
|
@ -37,3 +37,10 @@ a <<= 5
|
|||
print(a)
|
||||
a >>= 1
|
||||
print(a)
|
||||
|
||||
# Test referential integrity of long ints
|
||||
a = 0x1ffffffff
|
||||
b = a
|
||||
a += 1
|
||||
print(a)
|
||||
print(b)
|
||||
|
|
Loading…
Reference in New Issue