summaryrefslogblamecommitdiff
path: root/test/files/run/bug2005.scala
blob: 41767095378e453c5cc231a5dec24827a66ed418 (plain) (tree)
1
2
3
4
5
6
7
8
9
             







                                      
 
object Test {
  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
  }
}