diff --git a/tests/run/i18701.fixed.scala b/tests/run/i18701.fixed.scala index 361f3f40dc2b..f0610380ad17 100644 --- a/tests/run/i18701.fixed.scala +++ b/tests/run/i18701.fixed.scala @@ -1,3 +1,5 @@ +// scalajs: --skip +// Use of Java reflection (getEnclosingMethod) abstract class TA { def tb(): TB } abstract class TB { def chk(): Unit } class A: diff --git a/tests/run/i18701.scala b/tests/run/i18701.scala index 45df41af8f06..50001233af10 100644 --- a/tests/run/i18701.scala +++ b/tests/run/i18701.scala @@ -1,3 +1,5 @@ +// scalajs: --skip +// Use of Java reflection (getEnclosingMethod) abstract class TA { def tb(): TB } abstract class TB { def chk(): Unit } class A: