aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs/pr53981/Proceeding3.aj
blob: 7033c393b8eb14b6ecd93c450b44b68ee4202d56 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import org.aspectj.testing.Tester;

public class Proceeding3 {
    public static void main(String[] args) {
    }
    static aspect A {
        void around() : execution(void main(String[])) {
            proceed(); // special form or Proceeding.proceed()?
        }
    }
    void proceed() {
        Tester.checkFailed("A bare call to proceed inside around advice should never refer to a method");
    }
}