From 4b681c27e39fc2c57d810ad4d5a79bc9acc0ceb4 Mon Sep 17 00:00:00 2001 From: Tony Kelman Date: Fri, 15 Jan 2016 14:15:56 -0800 Subject: [PATCH] Add test for and close #3596, Int128 bit shifts broken only a problem on 32 bit (actually has had a workaround in place for some time that should now probably be removed) add a test for repr(::Int128) --- test/int.jl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/int.jl b/test/int.jl index 179191fb641b5..eedf1500e77dd 100644 --- a/test/int.jl +++ b/test/int.jl @@ -142,3 +142,7 @@ end @test widemul(false, false) == false @test widemul(false, 3) == 0 @test widemul(3, true) == widemul(true, 3) == 3 + +# issue #3596 +@test Int128(1)<<0 == 1 +@test repr(Int128(1)<<1) == "2"