diff options
Diffstat (limited to 'test/files/run')
-rw-r--r-- | test/files/run/t0677.scala | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/files/run/t0677.scala b/test/files/run/t0677.scala new file mode 100644 index 0000000000..7978e3d142 --- /dev/null +++ b/test/files/run/t0677.scala @@ -0,0 +1,6 @@ +object Test extends Application { + class X[T] { val a = new Array[Array[T]](3,4) } + val x = new X[String] + x.a(1)(2) = "hello" + assert(x.a(1)(2) == "hello") +} |