summaryrefslogtreecommitdiff
path: root/test/files/run/t0883.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/t0883.scala')
-rw-r--r--test/files/run/t0883.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/run/t0883.scala b/test/files/run/t0883.scala
index b9d71702d8..c5c1aeaa04 100644
--- a/test/files/run/t0883.scala
+++ b/test/files/run/t0883.scala
@@ -1,7 +1,7 @@
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")
+case class Baz() extends Foo("Baz")
object Test extends Application {
Foo("Bar") match {
case Bar => println("What?")