diff --git a/test/intfuncs.jl b/test/intfuncs.jl index f8fa7c1fe762ca..c1b70447d0bc4d 100644 --- a/test/intfuncs.jl +++ b/test/intfuncs.jl @@ -24,7 +24,7 @@ for T in (Int32, Int64) @test lcm(T(-4), T(-6)) === T(12) @test lcm(T(2), T(4), T(6)) === T(12) - + @test lcm(typemax(T), T(1)) === typemax(T) @test lcm(-typemax(T), T(1)) === typemax(T) @test_throws OverflowError lcm(typemin(T), T(1))