summaryrefslogtreecommitdiff
path: root/test/files/neg/interop_classmanifests_arenot_concretetypetags.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/interop_classmanifests_arenot_concretetypetags.scala')
-rw-r--r--test/files/neg/interop_classmanifests_arenot_concretetypetags.scala4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/files/neg/interop_classmanifests_arenot_concretetypetags.scala b/test/files/neg/interop_classmanifests_arenot_concretetypetags.scala
index 5b1ed55e47..f130f162cd 100644
--- a/test/files/neg/interop_classmanifests_arenot_concretetypetags.scala
+++ b/test/files/neg/interop_classmanifests_arenot_concretetypetags.scala
@@ -1,6 +1,8 @@
+import scala.reflect.runtime.universe._
+
object Test extends App {
def classManifestIsnotConcreteTypeTag[T: ClassManifest] = {
- println(concreteTypeTag[T])
+ println(implicitly[ConcreteTypeTag[T]])
}
classManifestIsnotConcreteTypeTag[Int]