diff options
-rw-r--r-- | libjava/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | libjava/testsuite/libjava.compile/PR129_B.java | 9 | ||||
-rw-r--r-- | libjava/testsuite/libjava.compile/support/PR129_A.java | 6 |
3 files changed, 21 insertions, 0 deletions
diff --git a/libjava/testsuite/ChangeLog b/libjava/testsuite/ChangeLog index fd828dc..52367ad 100644 --- a/libjava/testsuite/ChangeLog +++ b/libjava/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2000-03-05 Anthony Green <green@redhat.com> + + * libjava.compile/PR129_B.java: New file. + * libjava.compile/support/PR129_A.java: New file. + For PR gcj/129. + 2000-03-04 Anthony Green <green@redhat.com> * libjava.lang/PR160.java: New file. diff --git a/libjava/testsuite/libjava.compile/PR129_B.java b/libjava/testsuite/libjava.compile/PR129_B.java new file mode 100644 index 0000000..238df99 --- /dev/null +++ b/libjava/testsuite/libjava.compile/PR129_B.java @@ -0,0 +1,9 @@ +import support.PR129_A; + +public class PR129_B { + public static void main ( String[] args ) { + int length = PR129_A.strArr.length; + System.out.println ( "Array length: " + length ); + } +} + diff --git a/libjava/testsuite/libjava.compile/support/PR129_A.java b/libjava/testsuite/libjava.compile/support/PR129_A.java new file mode 100644 index 0000000..643dad6 --- /dev/null +++ b/libjava/testsuite/libjava.compile/support/PR129_A.java @@ -0,0 +1,6 @@ +package support; + +public class PR129_A { + public static String[] strArr = { "A", "B", "C" }; +} + |