aboutsummaryrefslogtreecommitdiffstats
path: root/tests/errors/ClassExtendingAbstractAspectCE.java
blob: b00929573fb9a9907d6d6715f50320a8d99018e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import org.aspectj.testing.*;

public class ClassExtendingAbstractAspectCE {
    public static void main(String[] args) {
        new ClassExtendingAbstractAspectCE().go(args);
    }

    void go(String[] args) {
        Extends e = new Extends();
        Tester.check(false, "shouldn't have compiled!");
    }

}

abstract aspect Aspect {

}


class Extends extends Aspect {     // CE 20
    pointcut p(): call(* *());
}