diff options
Diffstat (limited to 'tests/pending/run/t4482.scala')
-rw-r--r-- | tests/pending/run/t4482.scala | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/tests/pending/run/t4482.scala b/tests/pending/run/t4482.scala deleted file mode 100644 index 392861c22..000000000 --- a/tests/pending/run/t4482.scala +++ /dev/null @@ -1,15 +0,0 @@ -trait Foo { def i: Int } -trait Bar - -case class Spam(i: Int) extends Foo with Bar - -object Test { - def matchParent(p:Any) = p match { - case f:Foo if f.i == 1 => 1 - case _:Bar => 2 - case _:Foo => 3 - } - def main(args: Array[String]): Unit = { - println(matchParent(Spam(3))) - } -} |