aboutsummaryrefslogtreecommitdiffstats
path: root/tests/new/UnterminatedDeclareErrorCE.java
blob: 46a7e339177e278c9d1af810e115fcb736c7f9eb (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 5

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