aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs151/pr122452.aj
blob: 1be5e5051410ba89b40e74575893f89b27a8f27c (plain)
1
2
3
4
5
6
7
public aspect pr122452 {
    pointcut greeting() : call (* Point.sayHello(..));
    pointcut greeting2() : call (* related.Hello.sayHello(..));
    after() returning() : greeting*() {
        System.out.println(" World!");
    }
}