зеркало из
https://github.com/eclipse-aspectj/aspectj.git
synced 2024-08-26 17:58:43 +02:00
12 строки
276 B
Java
12 строки
276 B
Java
|
|
/** @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() { }
|
|
}
|
|
|