aboutsummaryrefslogtreecommitdiff
path: root/libjava/testsuite/libjava.compile
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/testsuite/libjava.compile')
-rw-r--r--libjava/testsuite/libjava.compile/PR129_B.java9
-rw-r--r--libjava/testsuite/libjava.compile/support/PR129_A.java6
2 files changed, 15 insertions, 0 deletions
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" };
+}
+