summaryrefslogtreecommitdiff
path: root/test/files/run/getClassTest-old.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/getClassTest-old.scala')
-rw-r--r--test/files/run/getClassTest-old.scala1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/files/run/getClassTest-old.scala b/test/files/run/getClassTest-old.scala
index 951cc8d931..789dd4d162 100644
--- a/test/files/run/getClassTest-old.scala
+++ b/test/files/run/getClassTest-old.scala
@@ -50,6 +50,7 @@ class MoreAnyRefs {
def f4 = (new A { def bippy() = 5 }).getClass()
}
+@deprecated("Suppress warnings", since="2.11")
object Test {
def returnTypes[T: Manifest] = (
manifest[T].erasure.getMethods.toList