This is the mail archive of the java-patches@sourceware.cygnus.com mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Patch: test for PR 140


I'm checking in this test for PR 140.

2000-03-14  Tom Tromey  <tromey@cygnus.com>

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


Tom

Index: libjava.compile/PR140.java
===================================================================
RCS file: PR140.java
diff -N PR140.java
--- /dev/null	Tue May  5 13:32:27 1998
+++ PR140.java	Tue Mar 14 17:44:32 2000
@@ -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);
+  }
+}

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]