From d4b8d8deefcdd9144ef39d1456b03aa693f93ff7 Mon Sep 17 00:00:00 2001 From: Eugene Burmako Date: Sun, 22 Apr 2012 22:02:34 +0200 Subject: interop between manifests and tags --- test/files/run/interop_concretetypetags_are_classmanifests.scala | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 test/files/run/interop_concretetypetags_are_classmanifests.scala (limited to 'test/files/run/interop_concretetypetags_are_classmanifests.scala') diff --git a/test/files/run/interop_concretetypetags_are_classmanifests.scala b/test/files/run/interop_concretetypetags_are_classmanifests.scala new file mode 100644 index 0000000000..b578d7e626 --- /dev/null +++ b/test/files/run/interop_concretetypetags_are_classmanifests.scala @@ -0,0 +1,9 @@ +object Test extends App { + def concreteTypeTagIsClassManifest[T: ConcreteTypeTag] = { + println(classManifest[T]) + } + + concreteTypeTagIsClassManifest[Int] + concreteTypeTagIsClassManifest[String] + concreteTypeTagIsClassManifest[Array[Int]] +} \ No newline at end of file -- cgit v1.2.3