diff options
Diffstat (limited to 'test/files/run/t0677.scala')
-rw-r--r-- | test/files/run/t0677.scala | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/files/run/t0677.scala b/test/files/run/t0677.scala index 7978e3d142..eb01a85fcb 100644 --- a/test/files/run/t0677.scala +++ b/test/files/run/t0677.scala @@ -1,5 +1,8 @@ object Test extends Application { - class X[T] { val a = new Array[Array[T]](3,4) } + 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") |