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