Skip to content

Commit

Permalink
test for JuliaLang#13165
Browse files Browse the repository at this point in the history
  • Loading branch information
mauro3 committed Jan 17, 2017
1 parent 718c478 commit a3d4821
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions test/inference.jl
Original file line number Diff line number Diff line change
Expand Up @@ -506,3 +506,8 @@ tpara{I}(::Type{AbstractMyType12580{I}}) = I
f18348{T<:Any}(::Type{T}, x) = 1
f18348{T<:Any}(::Type{T}, x::T) = 2
@test length(methods(f18348, Tuple{Type{Any},Any})) == 1

# Issue #13165
@test Symmetric{Float64,Matrix{Float64}} <: LinAlg.RealHermSymComplexHerm
@test Hermitian{Float64,Matrix{Float64}} <: LinAlg.RealHermSymComplexHerm
@test Hermitian{Complex{Float64},Matrix{Complex{Float64}}} <: LinAlg.RealHermSymComplexHerm

0 comments on commit a3d4821

Please sign in to comment.