peilaus alkaen
https://github.com/eclipse-aspectj/aspectj.git
synced 2024-08-14 02:10:40 +02:00
12 rivejä
276 B
Java
12 rivejä
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() { }
|
|
}
|
|
|