summaryrefslogblamecommitdiff
path: root/test/files/neg/interop_typetags_arenot_classmanifests.scala
blob: b1fbb7b5a67b726f694b2782c927d40ea6269667 (plain) (tree)
1
2
3
4
5
6
7
8
9








                                               
object Test extends App {
  def typeTagIsnotClassManifest[T: TypeTag] = {
    println(classManifest[T])
  }

  typeTagIsnotClassManifest[Int]
  typeTagIsnotClassManifest[String]
  typeTagIsnotClassManifest[Array[Int]]
}