summaryrefslogblamecommitdiff
path: root/test/files/neg/t4425.scala
blob: d8cc6922f70c5e275d5eb90b3a68901827d04d26 (plain) (tree)
1
2
3
4



                                                                  
object Foo {
  object X { def unapply(x : Int)(y : Option[Int] = None) = None }
  42 match { case _ X _ => () }
}