diff options
author | Rachel Dowdall <rjdowdall@gmail.com> | 2014-03-22 12:17:36 +0000 |
---|---|---|
committer | Rachel Dowdall <rjdowdall@gmail.com> | 2014-03-22 12:17:36 +0000 |
commit | 17f45d41fefdb75fb76fca00ce4d7d5e158b6ea5 (patch) | |
tree | 36077e73d30aa91f94ed74b707facc86b7ed7937 /tests/basics/int-long.py | |
parent | 300c8bd4c2c0c6d626a6aaeb873c22a8f8b9fc3f (diff) | |
parent | da8d21e0dd236ae5e31bfac4ff8d5b73ddd49282 (diff) | |
download | micropython-17f45d41fefdb75fb76fca00ce4d7d5e158b6ea5.tar.gz micropython-17f45d41fefdb75fb76fca00ce4d7d5e158b6ea5.zip |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'tests/basics/int-long.py')
-rw-r--r-- | tests/basics/int-long.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/basics/int-long.py b/tests/basics/int-long.py index f867d8037d..3567e08b2d 100644 --- a/tests/basics/int-long.py +++ b/tests/basics/int-long.py @@ -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) |