diff options
Diffstat (limited to 'test/pending')
-rwxr-xr-x | test/pending/neg/t1545.scala | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/test/pending/neg/t1545.scala b/test/pending/neg/t1545.scala deleted file mode 100755 index d7c0245725..0000000000 --- a/test/pending/neg/t1545.scala +++ /dev/null @@ -1,16 +0,0 @@ -object Main extends Application { - - case class Foo (field : Option[String]) - - val x : PartialFunction[Foo,Int] = - { - c => c.field match { - case Some (s) => 42 - case None => 99 - } - } - - println (x (Foo (None))) // prints 99 - println (x (Foo (Some ("foo")))) // prints 42 - -} |