summaryrefslogblamecommitdiff
path: root/test/files/neg/t7984.scala
blob: ca09a89fc71c7cedc8dbb05b89a81d81cf0578a8 (plain) (tree)
1
2
3
4
5
6
7






                               
class Test {
  type ListInt = List[Int]
  List[Any]("") match {
    case is: ListInt => is.head
    case _ =>
  }
}