summaryrefslogtreecommitdiff
path: root/test/files/run/interop_manifests_are_classtags.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/interop_manifests_are_classtags.scala')
-rw-r--r--test/files/run/interop_manifests_are_classtags.scala3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/files/run/interop_manifests_are_classtags.scala b/test/files/run/interop_manifests_are_classtags.scala
index 03479e527a..705038ece7 100644
--- a/test/files/run/interop_manifests_are_classtags.scala
+++ b/test/files/run/interop_manifests_are_classtags.scala
@@ -1,5 +1,6 @@
import scala.reflect.{ClassTag, classTag}
+@deprecated("Suppress warnings", since="2.11")
object Test extends App {
def classManifestIsClassTag[T: ClassManifest] = {
println(classTag[T])
@@ -20,4 +21,4 @@ object Test extends App {
manifestIsClassTag[Int]
manifestIsClassTag[String]
manifestIsClassTag[Array[Int]]
-} \ No newline at end of file
+}