diff options
Diffstat (limited to 'tests/disabled/macro/run/macro-def-path-dependent/Test_4.scala')
-rw-r--r-- | tests/disabled/macro/run/macro-def-path-dependent/Test_4.scala | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/disabled/macro/run/macro-def-path-dependent/Test_4.scala b/tests/disabled/macro/run/macro-def-path-dependent/Test_4.scala new file mode 100644 index 000000000..67cb88ee6 --- /dev/null +++ b/tests/disabled/macro/run/macro-def-path-dependent/Test_4.scala @@ -0,0 +1,11 @@ +package test4 + +import scala.reflect.runtime.universe._ +import scala.reflect.macros.blackbox.Context +import scala.reflect.api.Universe + +object Test { + def materializeTypeTag[T](u: Universe)(e: T): u.TypeTag[T] = macro materializeTypeTag_impl[T] + + def materializeTypeTag_impl[T: c.WeakTypeTag](c: Context)(u: c.Expr[Universe])(e: c.Expr[T]): c.Expr[u.value.TypeTag[T]] = ??? +}
\ No newline at end of file |