aboutsummaryrefslogtreecommitdiff
path: root/tests/disabled/macro/run/t7235.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/disabled/macro/run/t7235.scala')
-rw-r--r--tests/disabled/macro/run/t7235.scala14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/disabled/macro/run/t7235.scala b/tests/disabled/macro/run/t7235.scala
new file mode 100644
index 000000000..2e6af545d
--- /dev/null
+++ b/tests/disabled/macro/run/t7235.scala
@@ -0,0 +1,14 @@
+import scala.reflect.runtime.universe._
+import scala.reflect.runtime.{universe => ru}
+import scala.reflect.runtime.{currentMirror => cm}
+import scala.tools.reflect.ToolBox
+
+class C
+
+object Test extends dotty.runtime.LegacyApp {
+ val Block(List(ValDef(_, _, tpt: CompoundTypeTree, _)), _) = reify{ val x: C{} = ??? }.tree
+ println(tpt)
+ println(tpt.templ.parents)
+ println(tpt.templ.self)
+ println(tpt.templ.body)
+}