summaryrefslogtreecommitdiffstats
path: root/tests/new/DeclareAspectConstructorCE.java
blob: 864d5f0971da1d94a3614189464e39804dbf1f53 (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) {}  // CE 10
}