aboutsummaryrefslogtreecommitdiffstats
path: root/tests/errors/BadCCutSig.java
blob: 96011cee923a683cba0eb8e68d442e843c6baae5 (plain)
1
2
3
4
5
6
7
8
9
10
package errors;

aspect BadCCutSig {
    int bar(int a, int b, int c) { return 0; }

    pointcut cut(BadCCutSig b): target(b) && call(int bar(int, int, int));
    
    before(BadCCutSig b): cut() {  // SHOULD BE: cut(b)
    }
}