This is the mail archive of the
java-patches@sourceware.cygnus.com
mailing list for the Java project.
Patch: test for PR 140
- To: Java Patch List <java-patches at sourceware dot cygnus dot com>
- Subject: Patch: test for PR 140
- From: Tom Tromey <tromey at cygnus dot com>
- Date: 14 Mar 2000 18:48:08 -0700
- Reply-To: tromey at cygnus dot com
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);
+ }
+}