mirror of
https://github.com/eclipse-aspectj/aspectj.git
synced 2024-09-13 15:45:38 +02:00
12 lines
161 B
Java
12 lines
161 B
Java
|
|
|
|
/** @testcase PR851 declaring an aspect constructor with argument should be prohibited */
|
|
|
|
aspect A {
|
|
A() {}
|
|
}
|
|
|
|
aspect B {
|
|
A.new(int i) {} // CE 10
|
|
}
|