aboutsummaryrefslogtreecommitdiffstats
path: root/tests/new/AspectInInterfaceCP.java
blob: 520fc23812bd3111e9650473cb784d65241802f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import org.aspectj.testing.Tester;
public class AspectInInterfaceCP {
    public static void main(String[] args) {
        Tester.checkEvents("before");
    }
}

interface HasPrivateAspect {
    /** @testcase PR#534 static aspect in interface causes CE if - usejavac */
    static aspect Inner {
        before(): execution(* main(..)) { Tester.event("before"); }
    }
}