aboutsummaryrefslogtreecommitdiff
path: root/tests/pending/run/t7181.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pending/run/t7181.scala')
-rw-r--r--tests/pending/run/t7181.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/pending/run/t7181.scala b/tests/pending/run/t7181.scala
index dc03d299a..a06f22bf4 100644
--- a/tests/pending/run/t7181.scala
+++ b/tests/pending/run/t7181.scala
@@ -15,7 +15,7 @@ case object ExceptionUncaughtException extends Action
case class UncaughtException(action: Action) extends RuntimeException
case class CaughtException(action: Action) extends RuntimeException
-object Test extends App {
+object Test extends dotty.runtime.LegacyApp {
def test(action: Action, expectException: Boolean = false): Unit = {
var gotException = false
val result = try