aboutsummaryrefslogtreecommitdiff
path: root/tests/disabled/macro/run/reify_typerefs_1b.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/disabled/macro/run/reify_typerefs_1b.scala')
-rw-r--r--tests/disabled/macro/run/reify_typerefs_1b.scala18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/disabled/macro/run/reify_typerefs_1b.scala b/tests/disabled/macro/run/reify_typerefs_1b.scala
new file mode 100644
index 000000000..7c4d025f0
--- /dev/null
+++ b/tests/disabled/macro/run/reify_typerefs_1b.scala
@@ -0,0 +1,18 @@
+import scala.reflect.runtime.universe._
+import scala.reflect.runtime.{universe => ru}
+import scala.reflect.runtime.{currentMirror => cm}
+import scala.tools.reflect.ToolBox
+
+object Expression {
+ override def toString = "Expression"
+}
+
+object Test extends dotty.runtime.LegacyApp {
+ val code = reify {
+ List(Expression, Expression)
+ };
+
+ val toolbox = cm.mkToolBox()
+ val evaluated = toolbox.eval(code.tree)
+ println("evaluated = " + evaluated)
+}