summaryrefslogtreecommitdiff
path: root/test/files/run/t0677.scala
blob: 764f8e82c5699849fa0482270beaa636623bc578 (plain) (blame)
1
2
3
4
5
6
7
8
9
object Test extends App {
  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")
}