의 미러
https://github.com/eclipse-aspectj/aspectj.git
synced 2024-09-03 17:56:34 +02:00
12 lines
170 B
Java
12 lines
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
|
|
}
|