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

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