aboutsummaryrefslogtreecommitdiffstats
path: root/tests/new/DeclareOnlyAspectConstructorCE.java
blob: 383981a0691a66c8c1bb3af94e03eae47453da25 (plain)
1
2
3
4
5
6
7
8
9
10
11
/** @testcase PR851 declaring an aspect constructor with argument should be prohibited - sole constructor */

aspect A {
}

aspect B {
    A.new(int i) { this(); }  // CE 10
}