summaryrefslogtreecommitdiff
path: root/test/files/neg/interop_classmanifests_arenot_concretetypetags.scala
blob: f130f162cd27cb480646e4736c95c1a9f754b99f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
import scala.reflect.runtime.universe._

object Test extends App {
  def classManifestIsnotConcreteTypeTag[T: ClassManifest] = {
    println(implicitly[ConcreteTypeTag[T]])
  }

  classManifestIsnotConcreteTypeTag[Int]
  classManifestIsnotConcreteTypeTag[String]
  classManifestIsnotConcreteTypeTag[Array[Int]]
}