summaryrefslogtreecommitdiffstats
path: root/tests/pureJava/PrivateFields.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pureJava/PrivateFields.java')
-rw-r--r--tests/pureJava/PrivateFields.java13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/pureJava/PrivateFields.java b/tests/pureJava/PrivateFields.java
new file mode 100644
index 000000000..bdbfba588
--- /dev/null
+++ b/tests/pureJava/PrivateFields.java
@@ -0,0 +1,13 @@
+public class PrivateFields {
+ public static void main(String[] args) {
+ }
+}
+
+class Outer {
+ private static int one = 1;
+
+ static class Inner extends Outer{
+ private static int two = 2;
+ int m() { return one; }
+ }
+}