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

public class TwoDots {
    public static void main(String[] args) {
        new TwoDots().realMain(args);
    }
    
    public void realMain(String[] args) {
        this..foo();
        //this..i = 14;
        Tester.check(false, "Shouldn't have compiled");
    }

    int i = 13;
    void foo() {}
}