summaryrefslogtreecommitdiffstats
path: root/tests/bugs153/pr149071/AspectItd.java
blob: 54a633ab55487b79847b9ed4f58b9f9d3ababb30 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
public aspect AspectItd {
    //private interface Holder {}
    private int Holder.x;
    static class Inner {
        int doIt(Holder h) {
            return h.x++;
        }
    }
    
    public static void main(String []argv) {
    	new Inner().doIt(new HolderImpl());
    }
}

interface Holder{}

class HolderImpl implements Holder {}