* libjava.compile/PR140.java: New file, for PR gcj/140.
From-SVN: r32551
This commit is contained in:
parent
2d92639501
commit
87ee36a8d9
2 changed files with 15 additions and 0 deletions
13
libjava/testsuite/libjava.compile/PR140.java
Normal file
13
libjava/testsuite/libjava.compile/PR140.java
Normal 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);
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue