aboutsummaryrefslogblamecommitdiff
path: root/tests/pos/t9795.scala
blob: 1bb23840e132cff984a1c666b0c06f3407bac063 (plain) (tree)
1
2
3
4
5
6
7






                            
case class A(v: Int)
class B(v: Int) extends A(v)

object Test {
  val a = new B(1)
  a match { case A(_) => 1 }
}