aboutsummaryrefslogtreecommitdiff
path: root/tests/pending/run/reify_newimpl_13.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pending/run/reify_newimpl_13.scala')
-rw-r--r--tests/pending/run/reify_newimpl_13.scala21
1 files changed, 0 insertions, 21 deletions
diff --git a/tests/pending/run/reify_newimpl_13.scala b/tests/pending/run/reify_newimpl_13.scala
deleted file mode 100644
index 79a99c334..000000000
--- a/tests/pending/run/reify_newimpl_13.scala
+++ /dev/null
@@ -1,21 +0,0 @@
-import scala.reflect.runtime.universe._
-import scala.tools.reflect.ToolBox
-import scala.tools.reflect.Eval
-
-object Test extends dotty.runtime.LegacyApp {
- {
- class C[T] {
- val code = reify {
- List[T](2.asInstanceOf[T])
- }
- println(code.eval)
- }
-
- try {
- new C[Int]
- } catch {
- case ex: Throwable =>
- println(ex)
- }
- }
-}