diff options
Diffstat (limited to 'test/files/pos/bug3534.scala')
-rw-r--r-- | test/files/pos/bug3534.scala | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/pos/bug3534.scala b/test/files/pos/bug3534.scala new file mode 100644 index 0000000000..d926d4e286 --- /dev/null +++ b/test/files/pos/bug3534.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 |