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

aspect A {
    A() {}
}

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