aboutsummaryrefslogtreecommitdiff
path: root/tests/pending/run/t0883.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pending/run/t0883.scala')
-rw-r--r--tests/pending/run/t0883.scala14
1 files changed, 0 insertions, 14 deletions
diff --git a/tests/pending/run/t0883.scala b/tests/pending/run/t0883.scala
deleted file mode 100644
index fb46f423e..000000000
--- a/tests/pending/run/t0883.scala
+++ /dev/null
@@ -1,14 +0,0 @@
-object Foo { def apply(x: String) = new Foo(x) }
-class Foo(name: String)
-case object Bar extends Foo("Bar")
-case class Baz() extends Foo("Baz")
-object Test extends dotty.runtime.LegacyApp {
- Foo("Bar") match {
- case Bar => println("What?")
- case _ => println("OK")
- }
- Foo("Baz") match {
- case Baz() => println("What?")
- case _ => println("OK")
- }
-}