diff options
Diffstat (limited to 'test/files/run/interop_concretetypetags_are_manifests.scala')
-rw-r--r-- | test/files/run/interop_concretetypetags_are_manifests.scala | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/files/run/interop_concretetypetags_are_manifests.scala b/test/files/run/interop_concretetypetags_are_manifests.scala index 731410bc10..84647a3a5a 100644 --- a/test/files/run/interop_concretetypetags_are_manifests.scala +++ b/test/files/run/interop_concretetypetags_are_manifests.scala @@ -1,5 +1,8 @@ +import scala.reflect.runtime.universe._ +import scala.reflect.ClassTag + object Test extends App { - def concreteTypeTagIsManifest[T: ConcreteTypeTag] = { + def concreteTypeTagIsManifest[T: ConcreteTypeTag : ClassTag] = { println(manifest[T]) } |