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

object Test extends dotty.runtime.LegacyApp {
  def manifestIsTypeTag[T: Manifest] = {
    println(typeOf[T])
  }

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