summaryrefslogtreecommitdiffstats
path: root/tests/new/UnterminatedDeclareErrorCE.java
blob: ad4f228becce6a83e01a50e5bfb3c82dd6add3c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
/** @testcase expect CE for unterminated declare error */
aspect UnterminatedDeclareErrorCE {
    declare error : execution(void run()) : "error" // CE 7
}

class C {
    // bug - get CE here if uncommented, but declare error unterminated
    // public void run() { }    
}