aboutsummaryrefslogtreecommitdiffstats
path: root/tests/errors/PR405.java
blob: 3c143e37e16cd49b3b28379b2f7b172a04398de1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import org.aspectj.testing.Tester;
public class PR405 {
    public static void main(String[] args) {
        new PR405().realMain(args);
    }
    public void realMain(String[] args) {
        Tester.check(false, "Shouldn't have compiled");
    }
    
    public PR405() {
    }
}

class C {
  int foo(){ return 1 }
}