aboutsummaryrefslogtreecommitdiff
path: root/tests/pending/run/t6591_5.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pending/run/t6591_5.scala')
-rw-r--r--tests/pending/run/t6591_5.scala23
1 files changed, 0 insertions, 23 deletions
diff --git a/tests/pending/run/t6591_5.scala b/tests/pending/run/t6591_5.scala
deleted file mode 100644
index dfb4cd5ad..000000000
--- a/tests/pending/run/t6591_5.scala
+++ /dev/null
@@ -1,23 +0,0 @@
-import scala.reflect.runtime.universe._
-import scala.tools.reflect.ToolBox
-import scala.tools.reflect.Eval
-import java.lang.reflect.InvocationTargetException
-
-class O { class I }
-
-object A extends O {
- val x = new O
- val code = reify {
- val v: x.I = ???
- v
- }
- println(showRaw(code))
-}
-
-object Test extends dotty.runtime.LegacyApp {
- try {
- val v: A.x.I = A.code.eval
- } catch {
- case ex: InvocationTargetException if ex.getCause.isInstanceOf[NotImplementedError] =>
- }
-}