mirror of
https://github.com/eclipse-aspectj/aspectj.git
synced 2024-08-15 02:13:50 +02:00
10 lines
183 B
Java
10 lines
183 B
Java
|
|
|
|
public class CompileWarning {
|
|
void run() {
|
|
}
|
|
static aspect A {
|
|
declare warning : execution(void CompileWarning.run()) :
|
|
"expected warning";
|
|
}
|
|
} |