summaryrefslogtreecommitdiffstats
path: root/tests/harness/Messages.java
blob: 22d0343823bb91b449086f58fc0547606d3d001c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
public class Messages {
    public static void main (String[] args) {
        new C().run();   
    } 
}

class C {
    void run() {
    }
}

aspect A {
    pointcut f() : receptions(void C.run()); // ME 14
    around() returns void : f() { }          // ME 15
}