mirror of
https://github.com/eclipse-aspectj/aspectj.git
synced 2024-07-25 06:14:46 +02:00
10 lines
258 B
Java
10 lines
258 B
Java
public class AspectsCantHaveYesArgumentConstructors {
|
|
public static void main(String[] args) {
|
|
}
|
|
}
|
|
|
|
aspect A /*of eachobject(instanceof(CompileError2))*/ {
|
|
//ERROR: only zero argument constructors allowed in an aspect
|
|
public A(String s) {}
|
|
}
|