summaryrefslogblamecommitdiff
path: root/test/files/run/interop_manifests_are_abstypetags.scala
blob: 1cba2fdb4bbf3bf47c139597f80f044f83324aae (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                           
import scala.reflect.runtime.universe._

object Test extends App {
  def manifestIsAbsTypeTag[T: Manifest] = {
    println(implicitly[AbsTypeTag[T]].tpe)
  }

  manifestIsAbsTypeTag[Int]
  manifestIsAbsTypeTag[String]
  manifestIsAbsTypeTag[Array[Int]]
}