Skip to content

Commit 8c6254d

Browse files
committed
test for JuliaLang#11803
1 parent a3d4821 commit 8c6254d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/inference.jl

+4
Original file line numberDiff line numberDiff line change
@@ -511,3 +511,7 @@ f18348{T<:Any}(::Type{T}, x::T) = 2
511511
@test Symmetric{Float64,Matrix{Float64}} <: LinAlg.RealHermSymComplexHerm
512512
@test Hermitian{Float64,Matrix{Float64}} <: LinAlg.RealHermSymComplexHerm
513513
@test Hermitian{Complex{Float64},Matrix{Complex{Float64}}} <: LinAlg.RealHermSymComplexHerm
514+
515+
# Issue #11803
516+
@test TypeVar(:T, Int) <: Int
517+
@test TypeVar(:T, Union{Int,Float64}) <: Union{Int,Float64}

0 commit comments

Comments
 (0)