diff --git a/test/ranges.jl b/test/ranges.jl index 5817871b04050..232dfcaa59c4d 100644 --- a/test/ranges.jl +++ b/test/ranges.jl @@ -1371,3 +1371,8 @@ end # module NonStandardIntegerRangeTest end end end + +@testset "allocation of TwicePrecision call" begin + @test @allocated 0:286.493442:360 + @test @allocated 0:286:360 +end