aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs150/pr92311.aj
blob: 3e00b6a5f133f07070af2b211ec06204c65af4f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
class Base {
public    int x;
}

aspect ExtendBase {
  public ExtendBase() {}
//    private int ExtendBase.x;
    declare parents: Y extends ExtendBase;
}

class Y extends Base {
    public void foo() {
	System.out.println(x);
    }
}