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







                                         
import scala.reflect.runtime.universe._

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