mirror of
https://github.com/eclipse-aspectj/aspectj.git
synced 2024-08-26 17:58:43 +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) {}
|
||
|
}
|