summaryrefslogtreecommitdiff
path: root/test/pending/pos/bug2005.scala
blob: 2514a5f7116695632503dce1cfdbc2f46eeaec32 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
object Bug {
  def main(args: Array[String]) {
    val a = new Array[Array[Int]](2,2)
    test(a)
  }
  def test[A](t: Array[Array[A]]) {
    val tmp = t(0)
    t(1) = tmp
  }
}