summaryrefslogtreecommitdiff
path: root/test/files/run/virtpatmat_nested_lists.scala
blob: fef74cea15c0ead22784e9b478bc36550881892f (plain) (blame)
1
2
3
object Test extends App {
  List(List(1), List(2)) match { case x :: (y :: Nil) :: Nil => println(y) }
}