diff options
Diffstat (limited to 'test/files/neg/t4425.scala')
-rw-r--r-- | test/files/neg/t4425.scala | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/neg/t4425.scala b/test/files/neg/t4425.scala new file mode 100644 index 0000000000..d8cc6922f7 --- /dev/null +++ b/test/files/neg/t4425.scala @@ -0,0 +1,4 @@ +object Foo { + object X { def unapply(x : Int)(y : Option[Int] = None) = None } + 42 match { case _ X _ => () } +} |