aboutsummaryrefslogtreecommitdiff
path: root/tests/pos/t3534.scala
blob: 44d3aafb66330c97eb5e753af162ff462ac720d8 (plain) (blame)
1
2
3
4
5
6
object Test {
   List[Option[Int]]() match {
     case None :: bb :: cc => ()
     case x => throw new Exception(x.filter(_.isDefined).mkString)
   }
 }