summaryrefslogtreecommitdiff
path: root/test/files/run/macro-reify-abstypetag-typeparams-tags/Test.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/macro-reify-abstypetag-typeparams-tags/Test.scala')
-rw-r--r--test/files/run/macro-reify-abstypetag-typeparams-tags/Test.scala9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/files/run/macro-reify-abstypetag-typeparams-tags/Test.scala b/test/files/run/macro-reify-abstypetag-typeparams-tags/Test.scala
new file mode 100644
index 0000000000..82a7b7971d
--- /dev/null
+++ b/test/files/run/macro-reify-abstypetag-typeparams-tags/Test.scala
@@ -0,0 +1,9 @@
+import scala.reflect.runtime.universe._
+
+object Test extends App {
+ def fooTypeTag[T: AbsTypeTag] = {
+ println(implicitly[AbsTypeTag[T]])
+ println(implicitly[AbsTypeTag[List[T]]])
+ }
+ fooTypeTag[Int]
+} \ No newline at end of file