mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-23 03:28:57 +08:00
87ee36a8d9
From-SVN: r32551
14 lines
247 B
Java
14 lines
247 B
Java
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);
|
|
}
|
|
}
|