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

/**
 * @errors 7
 * @warnings
 */
public class CircularExtends extends CircularExtends {
    public static void main(String[] args) {
        new CircularExtends().realMain(args);
    }
    
    public void realMain(String[] args) {
        Tester.check(false, "shouldn't have compiled");
    }
}