aboutsummaryrefslogtreecommitdiff
path: root/tests/pending/run/t4396.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pending/run/t4396.scala')
-rw-r--r--tests/pending/run/t4396.scala4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/pending/run/t4396.scala b/tests/pending/run/t4396.scala
index 2877a5f1d..694360101 100644
--- a/tests/pending/run/t4396.scala
+++ b/tests/pending/run/t4396.scala
@@ -19,7 +19,7 @@ object Main {
def main(argv: Array[String]): Unit = {
class Bip {
class Foo { override def toString() = "foo" }
- object Main extends App {
+ object Main extends dotty.runtime.LegacyApp {
val cbn = new Foo()
}
Main.main(Array())
@@ -29,7 +29,7 @@ object Main {
}
}
-object Test extends App {
+object Test extends dotty.runtime.LegacyApp {
new C(22)
Main.main(Array())
}