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

public class IntLiteral {
    public static void main(String[] args) {
        new IntLiteral().go();
        org.aspectj.testing.Tester.check(goRan, "Method go did not run");
    }

    static boolean goRan = false;

    void go() {
        goRan = true;
    }
}

aspect A {
    pointcut p1(int i) : execution(* *(5));
}