summaryrefslogblamecommitdiff
path: root/test/files/neg/t0513.scala
blob: 0193483cab86056e99addd1ddad07fdcf088c503 (plain) (tree)
1
2
3
4
5
6
             
                                
                                                   
                        

                                                  
object Test {
    case class Y[T1, T2 <: T1]()
    //val test = Y[Nothing, Int]  // Compiler error
    case class Test[T]()
    val test2 = Test[Y[Nothing, Int]]  // No error
}