diff options
Diffstat (limited to 'test/files/neg/interop_classtags_arenot_manifests.scala')
-rw-r--r-- | test/files/neg/interop_classtags_arenot_manifests.scala | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/test/files/neg/interop_classtags_arenot_manifests.scala b/test/files/neg/interop_classtags_arenot_manifests.scala index 5c4130ad6d..391143c6e8 100644 --- a/test/files/neg/interop_classtags_arenot_manifests.scala +++ b/test/files/neg/interop_classtags_arenot_manifests.scala @@ -1,15 +1,6 @@ -import scala.reflect.{ArrayTag, arrayTag} import scala.reflect.{ClassTag, classTag} object Test extends App { - def arrayTagIsnotManifest[T: ArrayTag] = { - println(manifest[T]) - } - - arrayTagIsnotManifest[Int] - arrayTagIsnotManifest[String] - arrayTagIsnotManifest[Array[Int]] - def classTagIsnotManifest[T: ClassTag] = { println(manifest[T]) } |