diff options
Diffstat (limited to 'tests/run/t0607.scala')
-rw-r--r-- | tests/run/t0607.scala | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/run/t0607.scala b/tests/run/t0607.scala new file mode 100644 index 000000000..8f9e29533 --- /dev/null +++ b/tests/run/t0607.scala @@ -0,0 +1,7 @@ +object Test extends dotty.runtime.LegacyApp { + case class A() + class B extends A() { override def toString() = "B()" } + println(A()) + println(new B()) +} + |