aboutsummaryrefslogtreecommitdiff
path: root/tests/pending/run/interop_manifests_are_typetags.scala
blob: a228e701706e7865390571c516bbdcd2bd3d0150 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
import scala.reflect.runtime.universe._

object Test extends App {
  def manifestIsTypeTag[T: Manifest] = {
    println(typeOf[T])
  }

  manifestIsTypeTag[Int]
  manifestIsTypeTag[String]
  manifestIsTypeTag[Array[Int]]
}