summaryrefslogtreecommitdiff
path: root/test/files/run/typetags_multi.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/typetags_multi.scala')
-rw-r--r--test/files/run/typetags_multi.scala9
1 files changed, 9 insertions, 0 deletions
diff --git a/test/files/run/typetags_multi.scala b/test/files/run/typetags_multi.scala
new file mode 100644
index 0000000000..b30aac80a6
--- /dev/null
+++ b/test/files/run/typetags_multi.scala
@@ -0,0 +1,9 @@
+import scala.reflect.runtime.universe._
+
+object Test extends App {
+ println(implicitly[TypeTag[Int]])
+ println(implicitly[TypeTag[Array[Int]]])
+ println(implicitly[TypeTag[Array[Array[Int]]]])
+ println(implicitly[TypeTag[Array[Array[Array[Int]]]]])
+ println(implicitly[TypeTag[Array[Array[Array[Array[Int]]]]]])
+} \ No newline at end of file