summaryrefslogtreecommitdiff
path: root/test/files/neg/macro-reify-typetag-useabstypetag/Test.scala
blob: b66ad6c5230834b62303fd5c6b31d52012e22562 (plain) (blame)
1
2
3
4
5
6
7
8
9
import scala.reflect.runtime.universe._

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