aboutsummaryrefslogblamecommitdiff
path: root/tests/neg/i1652.scala
blob: b8f1297b33c75b6e8d8f04a369c0e3a69fa7b464 (plain) (tree)
1
2
3
4
5




                                                           
object Test {
  val v: Array[Array[Array]] = Array()    // error // error
  def f[T](w: Array[Array[T]]) = { for (r <- w) () }
  f(v) // error
}