summaryrefslogblamecommitdiff
path: root/test/files/neg/multi-array.scala
blob: 993a1c0865c377df3ca1a306e0936b6c6a68c78f (plain) (tree)
1
2
3
4
5
6
7






                                                            
/** Check that a multi-dimensional array can't be created
 *  when the wrong number of arguments w.r.t. to the array's
 *  type is given.
 */
class Foo {
  val a: Array[Int] = new Array(10, 10)
}