summaryrefslogtreecommitdiff
path: root/test/files/run/t0607.scala
diff options
context:
space:
mode:
authorPaul Phillips <paulp@improving.org>2009-09-11 15:23:05 +0000
committerPaul Phillips <paulp@improving.org>2009-09-11 15:23:05 +0000
commit61ff261346289f7886350a8a4da5688574070e59 (patch)
tree4869fbb98aebf26b97b473ba27a0ea0deba72874 /test/files/run/t0607.scala
parent8871528f60958a45eb119a5cc487f87215e4e92f (diff)
downloadscala-61ff261346289f7886350a8a4da5688574070e59.tar.gz
scala-61ff261346289f7886350a8a4da5688574070e59.tar.bz2
scala-61ff261346289f7886350a8a4da5688574070e59.zip
Deprecated case classes inheriting from other c...
Deprecated case classes inheriting from other case classes, and updated all the tests which did so.
Diffstat (limited to 'test/files/run/t0607.scala')
-rw-r--r--test/files/run/t0607.scala6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/files/run/t0607.scala b/test/files/run/t0607.scala
index afc7ff9b46..5601494dec 100644
--- a/test/files/run/t0607.scala
+++ b/test/files/run/t0607.scala
@@ -1,7 +1,7 @@
object Test extends Application {
- case class A
- case class B extends A
+ case class A()
+ class B extends A() { override def toString() = "B()" }
println(A())
- println(B())
+ println(new B())
}