Skip to content

Commit

Permalink
test for JuliaLang#11803
Browse files Browse the repository at this point in the history
  • Loading branch information
mauro3 committed Jan 17, 2017
1 parent a3d4821 commit 8c6254d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/inference.jl
Original file line number Diff line number Diff line change
Expand Up @@ -511,3 +511,7 @@ f18348{T<:Any}(::Type{T}, x::T) = 2
@test Symmetric{Float64,Matrix{Float64}} <: LinAlg.RealHermSymComplexHerm
@test Hermitian{Float64,Matrix{Float64}} <: LinAlg.RealHermSymComplexHerm
@test Hermitian{Complex{Float64},Matrix{Complex{Float64}}} <: LinAlg.RealHermSymComplexHerm

# Issue #11803
@test TypeVar(:T, Int) <: Int
@test TypeVar(:T, Union{Int,Float64}) <: Union{Int,Float64}

0 comments on commit 8c6254d

Please sign in to comment.