summaryrefslogtreecommitdiff
path: root/test/files/run/multi-array.disabled
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/multi-array.disabled')
-rw-r--r--test/files/run/multi-array.disabled12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/files/run/multi-array.disabled b/test/files/run/multi-array.disabled
new file mode 100644
index 0000000000..8c95453735
--- /dev/null
+++ b/test/files/run/multi-array.disabled
@@ -0,0 +1,12 @@
+object Test extends Application {
+ val a = Array(1, 2, 3)
+ println(a.deepToString)
+
+ val aaiIncomplete = new Array[Array[Array[Int]]](3)
+ println(aaiIncomplete(0))
+
+ val aaiComplete: Array[Array[Int]] = Array.ofDim[Int](3, 3) // new Array[Array[Int]](3, 3)
+ for (i <- 0 until 3; j <- 0 until 3)
+ aaiComplete(i)(j) = i + j
+ println(aaiComplete.deepToString)
+}