summaryrefslogtreecommitdiff
path: root/test/files/neg/multi-array.check
diff options
context:
space:
mode:
authorMartin Odersky <odersky@gmail.com>2009-01-29 15:36:38 +0000
committerMartin Odersky <odersky@gmail.com>2009-01-29 15:36:38 +0000
commit8c52d2ef0a298780bc1c1c4f5465cc74017c9243 (patch)
treebb6741ebe7983b3cbc51161ba6c5aafb64519828 /test/files/neg/multi-array.check
parent45a49c276c83c751ed2120a26d2c45b1a1b5d9ff (diff)
downloadscala-8c52d2ef0a298780bc1c1c4f5465cc74017c9243.tar.gz
scala-8c52d2ef0a298780bc1c1c4f5465cc74017c9243.tar.bz2
scala-8c52d2ef0a298780bc1c1c4f5465cc74017c9243.zip
updated check file
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
index 94d0613735..8af656ab6b 100644
--- a/test/files/neg/multi-array.check
+++ b/test/files/neg/multi-array.check
@@ -1,4 +1,8 @@
+multi-array.scala:6: warning: new Array(...) with multiple dimensions has been deprecated; use Array.withDims(...) instead
+ val a: Array[Int] = new Array(10, 10)
+ ^
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 warning found
one error found