summaryrefslogtreecommitdiff
path: root/test/files/run/t0677-old.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/t0677-old.scala')
-rw-r--r--test/files/run/t0677-old.scala5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/files/run/t0677-old.scala b/test/files/run/t0677-old.scala
index 6c8a3a7e99..8d4c3ee060 100644
--- a/test/files/run/t0677-old.scala
+++ b/test/files/run/t0677-old.scala
@@ -1,5 +1,8 @@
+
+
+@deprecated("Suppress warnings", since="2.11")
object Test extends App {
- class X[T: ClassManifest] {
+ class X[T: ClassManifest] {
val a = Array.ofDim[T](3, 4)
}
val x = new X[String]