diff --git a/test/int.jl b/test/int.jl index 4108960fc6fc7..3cf1cbbd65f30 100644 --- a/test/int.jl +++ b/test/int.jl @@ -222,3 +222,10 @@ for T in [Base.BitInteger_types..., BigInt], U in [Base.BitInteger_types..., BigInt] @test typeof(rand(U(0):U(127)) % T) === T end + + +@testset "left shift with Vector{Int} on BigInt-scalar #13832" begin + x = BigInt(1) .<< [1:70;] + @test x[end] == 1180591620717411303424 + @test eltype(x) == BigInt +end