aboutsummaryrefslogtreecommitdiffstats
path: root/tests/new/DeclareOnlyAspectConstructorCE.java
blob: 11bde660badc52c992006d5eb05397a3cbf3f13c (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) {}  // CE 10
}