aboutsummaryrefslogtreecommitdiff
path: root/tests/untried/neg/macro-reify-typetag-hktypeparams-notags/Test.scala
diff options
context:
space:
mode:
Diffstat (limited to 'tests/untried/neg/macro-reify-typetag-hktypeparams-notags/Test.scala')
-rw-r--r--tests/untried/neg/macro-reify-typetag-hktypeparams-notags/Test.scala9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/untried/neg/macro-reify-typetag-hktypeparams-notags/Test.scala b/tests/untried/neg/macro-reify-typetag-hktypeparams-notags/Test.scala
new file mode 100644
index 000000000..09652721c
--- /dev/null
+++ b/tests/untried/neg/macro-reify-typetag-hktypeparams-notags/Test.scala
@@ -0,0 +1,9 @@
+import scala.reflect.runtime.universe._
+
+object Test extends App {
+ def fooNoTypeTagHK[C[_], T] = {
+ println(implicitly[TypeTag[C[T]]])
+ println(implicitly[TypeTag[List[C[T]]]])
+ }
+ fooNoTypeTagHK[List, Int]
+}