summaryrefslogtreecommitdiff
path: root/test/files/neg/t9398/match.scala
blob: e110c6a96aafdd8df1a89f8a7d029e770102ed97 (plain) (blame)
1
2
3
4
5
6
class Test {
  // Should warn that CC(B2) isn't matched
  def test(c: CC): Unit = c match {
    case CC(B) => ()
  }
}