aboutsummaryrefslogtreecommitdiffstats
path: root/tests/errors/UndefinedPointCut_PR396.java
blob: 786ffde2467c5ede22fc89140ecade613e01d07b (plain)
1
2
3
4
5
6
7
8
9
10
class UndefinedPointCut_PR396 {
    public static void main(String[] args) {
        org.aspectj.testing.Tester.check(false, "Shouldn't have compiled");
    }
}

aspect AspectTest { //of eachJVM() {
  pointcut pc4(): callsto(pc2()); //pc2 is undefined
  before(): pc4() {}
}