aboutsummaryrefslogtreecommitdiff
path: root/tests/disabled/macro/run/macro-def-path-dependent/Test_3.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/disabled/macro/run/macro-def-path-dependent/Test_3.scala')
-rw-r--r--tests/disabled/macro/run/macro-def-path-dependent/Test_3.scala22
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/disabled/macro/run/macro-def-path-dependent/Test_3.scala b/tests/disabled/macro/run/macro-def-path-dependent/Test_3.scala
new file mode 100644
index 000000000..1a5da8200
--- /dev/null
+++ b/tests/disabled/macro/run/macro-def-path-dependent/Test_3.scala
@@ -0,0 +1,22 @@
+package test3
+
+import scala.reflect.macros.blackbox.Context
+
+trait Exprs {
+ self: Universe =>
+
+ class Expr[T]
+}
+
+trait Reifiers {
+ self: Universe =>
+
+}
+
+trait Universe extends Exprs with Reifiers {
+ def reify[T](expr: T): Expr[T] = macro Impls.reify[T]
+}
+
+object Impls {
+ def reify[T](cc: Context{ type PrefixType = Universe })(expr: cc.Expr[T]): cc.Expr[cc.prefix.value.Expr[T]] = ???
+}