objint_longlong: Add regression test for improper inplace op implementation.

This commit is contained in:
Paul Sokolovsky 2014-03-22 00:02:32 +02:00
parent c070ff24a9
commit 42901554db
1 changed files with 7 additions and 0 deletions

View File

@ -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)