summaryrefslogtreecommitdiff
path: root/test/files/run/patmatnew.scala
diff options
context:
space:
mode:
authorBurak Emir <emir@epfl.ch>2007-08-23 09:14:33 +0000
committerBurak Emir <emir@epfl.ch>2007-08-23 09:14:33 +0000
commit62cd29a17818625f9a0ec84ffdac827281ae6265 (patch)
tree1bf0f6fc977cb306085d62b7a0df549ac82d0785 /test/files/run/patmatnew.scala
parent1ce5ecc912833a4452e1de23c6bb2fd859d66bd4 (diff)
downloadscala-62cd29a17818625f9a0ec84ffdac827281ae6265.tar.gz
scala-62cd29a17818625f9a0ec84ffdac827281ae6265.tar.bz2
scala-62cd29a17818625f9a0ec84ffdac827281ae6265.zip
fix #1286
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 =>
+ }
}
}