summaryrefslogblamecommitdiff
path: root/test/pending/pos/bug2005.scala
blob: 24e79a2a3353bb3870d1776cb8fd1d13d90e8361 (plain) (tree)
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
  }
}