aboutsummaryrefslogtreecommitdiff
path: root/tests/pending/run/t216.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pending/run/t216.scala')
-rw-r--r--tests/pending/run/t216.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/pending/run/t216.scala b/tests/pending/run/t216.scala
index 916a3c582..56efb4502 100644
--- a/tests/pending/run/t216.scala
+++ b/tests/pending/run/t216.scala
@@ -1,4 +1,4 @@
-object Test extends App {
+object Test extends dotty.runtime.LegacyApp {
object m {
val f = { x: Unit => () }
Console.println("OK")