From f205501be80001855b06d64c4260adafe6dc4417 Mon Sep 17 00:00:00 2001 From: Gilles Dubochet Date: Tue, 9 Jun 2009 13:22:01 +0000 Subject: Added a series of pending test cases. --- test/pending/pos/bug2005.scala | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 test/pending/pos/bug2005.scala (limited to 'test/pending/pos/bug2005.scala') diff --git a/test/pending/pos/bug2005.scala b/test/pending/pos/bug2005.scala new file mode 100644 index 0000000000..24e79a2a33 --- /dev/null +++ b/test/pending/pos/bug2005.scala @@ -0,0 +1,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 + } +} \ No newline at end of file -- cgit v1.2.3