summaryrefslogtreecommitdiff
path: root/test/files/run/patmatnew.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/patmatnew.scala')
-rw-r--r--test/files/run/patmatnew.scala4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/run/patmatnew.scala b/test/files/run/patmatnew.scala
index 76395bd7e2..7c283fae5c 100644
--- a/test/files/run/patmatnew.scala
+++ b/test/files/run/patmatnew.scala
@@ -443,6 +443,10 @@ object Test extends TestConsoleMain {
z.isDefinedAt(42)
s.isDefinedAt(42)
// just load the thing, to see if the classes are found
+
+ (None:Option[Boolean]) match {
+ case x if x.map(x => x).isEmpty =>
+ }
}
}