summaryrefslogtreecommitdiff
path: root/test/files/run/bug2005.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/bug2005.scala')
-rw-r--r--test/files/run/bug2005.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/files/run/bug2005.scala b/test/files/run/bug2005.scala
index 4176709537..45da9fe5b2 100644
--- a/test/files/run/bug2005.scala
+++ b/test/files/run/bug2005.scala
@@ -1,6 +1,6 @@
object Test {
def main(args: Array[String]) {
- val a = new Array[Array[Int]](2,2)
+ val a = Array.ofDim[Int](2,2)
test(a)
}
def test[A](t: Array[Array[A]]) {