aboutsummaryrefslogtreecommitdiffstats
path: root/tests/errors/CircularExtendsAspect.java
blob: fdeb7020f28db85283861901604cff3c0ffc5c38 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import org.aspectj.testing.Tester;

/**
 * @errors 18
 * @warnings
 */

public class CircularExtendsAspect {
    public static void main(String[] args) {
        new CircularExtendsAspect().realMain(args);
    }
    
    public void realMain(String[] args) {
        Tester.check(false, "shouldn't have compiled");
    }
}

aspect Aspect extends Aspect {
}