* libjava.compile/PR140.java: New file, for PR gcj/140.

From-SVN: r32551
This commit is contained in:
Tom Tromey 2000-03-15 01:45:10 +00:00 committed by Tom Tromey
parent 2d92639501
commit 87ee36a8d9
2 changed files with 15 additions and 0 deletions

View file

@ -0,0 +1,13 @@
public class PR140 {
public static void fill(int[] a) {
for (int i = 0; i < a.length; i++) {
a[i] = i;
}
}
public static void main(String[] args) {
int[] a = new int[3];
fill(a);
a.length = 3000;
fill(a);
}
}