mirror of
https://github.com/eclipse-aspectj/aspectj.git
synced 2024-07-24 05:44:46 +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";
|
|
}
|
|
} |