From 6b31849b85532946cb90b2552cb451b58dbd884d Mon Sep 17 00:00:00 2001 From: Paul Phillips Date: Wed, 7 Oct 2009 17:07:27 +0000 Subject: Moved a pile of passing tests from pending to f... Moved a pile of passing tests from pending to files, fixed some untesty tests, and will now close the associated tickets. --- test/files/run/bug2005.scala | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 test/files/run/bug2005.scala (limited to 'test/files/run/bug2005.scala') diff --git a/test/files/run/bug2005.scala b/test/files/run/bug2005.scala new file mode 100644 index 0000000000..4176709537 --- /dev/null +++ b/test/files/run/bug2005.scala @@ -0,0 +1,10 @@ +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 + } +} -- cgit v1.2.3