source: trunk/gcc/libjava/testsuite/libjava.compile/PR140.java

Last change on this file was 2, checked in by bird, 22 years ago

Initial revision

  • Property cvs2svn:cvs-rev set to 1.1
  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 247 bytes
Line 
1public class PR140 {
2 public static void fill(int[] a) {
3 for (int i = 0; i < a.length; i++) {
4 a[i] = i;
5 }
6 }
7 public static void main(String[] args) {
8 int[] a = new int[3];
9 fill(a);
10 a.length = 3000;
11 fill(a);
12 }
13}
Note: See TracBrowser for help on using the repository browser.