summaryrefslogtreecommitdiff
path: root/test/files/neg/multi-array.check
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/neg/multi-array.check')
-rw-r--r--test/files/neg/multi-array.check4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/files/neg/multi-array.check b/test/files/neg/multi-array.check
new file mode 100644
index 0000000000..94d0613735
--- /dev/null
+++ b/test/files/neg/multi-array.check
@@ -0,0 +1,4 @@
+multi-array.scala:6: error: too many arguments for array constructor: found 2 but array has only 1 dimension(s)
+ val a: Array[Int] = new Array(10, 10)
+ ^
+one error found