diff options
Diffstat (limited to 'test/files/run/macro-def-path-dependent-d1')
-rw-r--r-- | test/files/run/macro-def-path-dependent-d1/Impls_Macros_1.scala | 9 | ||||
-rw-r--r-- | test/files/run/macro-def-path-dependent-d1/Test_2.scala | 3 |
2 files changed, 12 insertions, 0 deletions
diff --git a/test/files/run/macro-def-path-dependent-d1/Impls_Macros_1.scala b/test/files/run/macro-def-path-dependent-d1/Impls_Macros_1.scala new file mode 100644 index 0000000000..2daf6fc3fb --- /dev/null +++ b/test/files/run/macro-def-path-dependent-d1/Impls_Macros_1.scala @@ -0,0 +1,9 @@ +import scala.reflect.runtime.universe._ +import scala.reflect.macros.Context +import scala.reflect.api.Universe + +object Test { + def materializeTypeTag[T](u: Universe)(e: T) = macro materializeTypeTag_impl[T] + + def materializeTypeTag_impl[T: c.AbsTypeTag](c: Context)(u: c.Expr[Universe])(e: c.Expr[T]): c.Expr[u.value.TypeTag[T]] = ??? +}
\ No newline at end of file diff --git a/test/files/run/macro-def-path-dependent-d1/Test_2.scala b/test/files/run/macro-def-path-dependent-d1/Test_2.scala new file mode 100644 index 0000000000..7dffc5107d --- /dev/null +++ b/test/files/run/macro-def-path-dependent-d1/Test_2.scala @@ -0,0 +1,3 @@ +object Test extends App { + println("it works") +}
\ No newline at end of file |