aboutsummaryrefslogtreecommitdiffstats
path: root/tests/errors/SubAspectsCantExtendNonAbstractAspects.java
blob: e97e89fe86b2dc94b8e398266aec282f74b657f6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
public class SubAspectsCantExtendNonAbstractAspects {
    public static void main(String[] args) {
    }
}

class C {}

aspect A /*of eachobject(instanceof(C))*/ {
    before(): call(* *(..)) {}
}


//ERROR: can't extend a concrete aspect
aspect SubA extends A {
}