summaryrefslogtreecommitdiff
path: root/test/files/pos/t3534.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/pos/t3534.scala')
-rw-r--r--test/files/pos/t3534.scala6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/pos/t3534.scala b/test/files/pos/t3534.scala
new file mode 100644
index 0000000000..d926d4e286
--- /dev/null
+++ b/test/files/pos/t3534.scala
@@ -0,0 +1,6 @@
+object Test {
+ List[Option[Int]]() match {
+ case None :: bb :: cc => ()
+ case x => throw new Exception(x.filter(_.isDefined).mkString)
+ }
+ } \ No newline at end of file