aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs/PR64069.aj
blob: a83041b175f435a0fa87c029e9d6dbc74637f20d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
aspect Aspect {

    public A.new() {    // CE L5 
       super();
       System.out.println("ITD A()");
    }

    public void A.bar() {  // CE L10
       System.out.println("ITD bar");
   }
    
    public int A.x;  // CE L14

}

class A {

    void foo() {
        A a = new A(); 
        bar(); 
    }

    private int x;
    
    private A() {
        super();
        System.out.println("private A()");
    }

    private void bar() {
        System.out.println("private bar");
    }

}

public class PR64069 { 

    static public void main(String[] args) {
        new A().foo();
    }
}