summaryrefslogtreecommitdiffstats
path: root/tests/pureJava/PrivateFields.java
blob: bdbfba588fd4896e1bcc321207b2affcba05e836 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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; }
    }
}