summaryrefslogtreecommitdiff
path: root/test/files/neg/macro-reify-groundtypetag-usetypetag/Test.scala
blob: d82cdc33e9e058eefdd37156dee19744afc3a1f2 (plain) (blame)
1
2
3
4
5
6
7
8
9
import scala.reflect.mirror._

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