diff --git a/test/core.jl b/test/core.jl index 6c36827d42afb4..2473bdba2c1640 100644 --- a/test/core.jl +++ b/test/core.jl @@ -3602,9 +3602,10 @@ end @test_throws TypeError Union{Int, 1} @test_throws ErrorException Vararg{Any,-2} -@test_throws ErrorException Vararg{Int, N} where N<:T where T -@test_throws ErrorException Vararg{Int, N} where N<:Integer -@test_throws ErrorException Vararg{Int, N} where N>:Integer +# Disabled due to #39698, see src/jltypes.c +#@test_throws ErrorException Vararg{Int, N} where N<:T where T +#@test_throws ErrorException Vararg{Int, N} where N<:Integer +#@test_throws ErrorException Vararg{Int, N} where N>:Integer mutable struct FooNTuple{N} z::Tuple{Integer, Vararg{Int, N}}