summaryrefslogtreecommitdiff
path: root/test/files/neg/t5357.scala
blob: 6a52283dd6b6ed42b38dca3403d8041773b80e45 (plain) (blame)
1
2
3
4
5
6
7
8
9
trait M

case class N() extends M {
  def mytest(x: M) = x match {
    case A: N => 1
    case _    => 0
  }
}