1
0
Mirror von https://github.com/eclipse-aspectj/aspectj.git synchronisiert 2024-09-03 17:56:34 +02:00
org.aspectj/tests/new/DeclareAspectConstructorCE.java

12 Zeilen
170 B
Java

/** @testcase PR851 declaring an aspect constructor with argument should be prohibited */
aspect A {
A() {}
}
aspect B {
A.new(int i) { this(); } // CE 10
}