diff options
Diffstat (limited to 'tests/untried/neg/multi-array.check')
-rw-r--r-- | tests/untried/neg/multi-array.check | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/untried/neg/multi-array.check b/tests/untried/neg/multi-array.check new file mode 100644 index 000000000..511caa126 --- /dev/null +++ b/tests/untried/neg/multi-array.check @@ -0,0 +1,4 @@ +multi-array.scala:7: error: too many arguments for constructor Array: (_length: Int)Array[T] + val a: Array[Int] = new Array(10, 10) + ^ +one error found |