summaryrefslogblamecommitdiff
path: root/test/files/run/macro-reify-abstypetag-typeparams-tags/Test.scala
blob: 70ca615e1f9be1bef464529b6ca4687ce3d7e28c (plain) (tree)
1
2
3
4
5
6
7
8
9


                                       


                                             


                 
import scala.reflect.runtime.universe._

object Test extends App {
  def fooTypeTag[T: WeakTypeTag] = {
    println(implicitly[WeakTypeTag[T]])
    println(implicitly[WeakTypeTag[List[T]]])
  }
  fooTypeTag[Int]
}