summaryrefslogtreecommitdiff
path: root/test/files/run/virtpatmat_nested_lists.scala
blob: d1aa68ea935b0094f2ab6e21ea426f6612ca13db (plain) (blame)
1
2
3
4
5
6
/*
 * filter: It would fail on the following input
 */
object Test extends App {
  List(List(1), List(2)) match { case x :: (y :: Nil) :: Nil => println(y) }
}