diff options
Diffstat (limited to 'test/files/neg')
-rw-r--r-- | test/files/neg/multi-array.check | 4 |
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 |