summaryrefslogtreecommitdiff
path: root/test/files/run/t0677.scala
blob: 94f30815b2669f2c331c0c9c9aefe3ed07437ddc (plain) (blame)
1
2
3
4
5
6
7
8
9
object Test extends Application {
  class X[T: ClassManifest] { 
    val a = new Array[Array[T]](3,4)
    val b = Array.ofDim[T](3, 4) 
  }
  val x = new X[String]
  x.a(1)(2) = "hello"
  assert(x.a(1)(2) == "hello")
}