summaryrefslogtreecommitdiff
path: root/test/files/run/t0677-old.scala
blob: c0f1abae53a45e579b61159cbdab60e0ff40f6ae (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
@deprecated("Suppress warnings", since="2.11")
object Test extends App {
  class X[T: ClassManifest] { 
    val a = Array.ofDim[T](3, 4)
  }
  val x = new X[String]
  x.a(1)(2) = "hello"
  assert(x.a(1)(2) == "hello")
}