summaryrefslogtreecommitdiff
path: root/test/files/run/concretetypetags_multi.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/concretetypetags_multi.scala')
-rw-r--r--test/files/run/concretetypetags_multi.scala12
1 files changed, 7 insertions, 5 deletions
diff --git a/test/files/run/concretetypetags_multi.scala b/test/files/run/concretetypetags_multi.scala
index 7e19d7db34..0b5d648877 100644
--- a/test/files/run/concretetypetags_multi.scala
+++ b/test/files/run/concretetypetags_multi.scala
@@ -1,7 +1,9 @@
+import scala.reflect.runtime.universe._
+
object Test extends App {
- println(concreteTypeTag[Int])
- println(concreteTypeTag[Array[Int]])
- println(concreteTypeTag[Array[Array[Int]]])
- println(concreteTypeTag[Array[Array[Array[Int]]]])
- println(concreteTypeTag[Array[Array[Array[Array[Int]]]]])
+ println(implicitly[ConcreteTypeTag[Int]])
+ println(implicitly[ConcreteTypeTag[Array[Int]]])
+ println(implicitly[ConcreteTypeTag[Array[Array[Int]]]])
+ println(implicitly[ConcreteTypeTag[Array[Array[Array[Int]]]]])
+ println(implicitly[ConcreteTypeTag[Array[Array[Array[Array[Int]]]]]])
} \ No newline at end of file