* libjava.compile/PR140.java: New file, for PR gcj/140.
authorTom Tromey <tromey@cygnus.com>
Wed, 15 Mar 2000 01:45:10 +0000 (01:45 +0000)
committerTom Tromey <tromey@gcc.gnu.org>
Wed, 15 Mar 2000 01:45:10 +0000 (01:45 +0000)
From-SVN: r32551

libjava/testsuite/ChangeLog
libjava/testsuite/libjava.compile/PR140.java [new file with mode: 0644]

index d64db5e..c3cce16 100644 (file)
@@ -1,5 +1,7 @@
 2000-03-14  Tom Tromey  <tromey@cygnus.com>
 
+       * libjava.compile/PR140.java: New file, for PR gcj/140.
+
        * libjava.compile/pr172.java: New file, for PR gcj/172.
 
        * libjava.compile/pr174.java: New file, for PR gcj/174.
diff --git a/libjava/testsuite/libjava.compile/PR140.java b/libjava/testsuite/libjava.compile/PR140.java
new file mode 100644 (file)
index 0000000..0f59d6e
--- /dev/null
@@ -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);
+  }
+}