diff options
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.scala | 9 |
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..21735c10d5 --- /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: GroundTypeTag] = { + println(implicitly[GroundTypeTag[T]]) + println(implicitly[GroundTypeTag[List[T]]]) + } + fooTypeTag[Int] +}
\ No newline at end of file |