summaryrefslogtreecommitdiffstats
path: root/docs/layouts/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'docs/layouts/index.html')
0 files changed, 0 insertions, 0 deletions
4d87c7766478f5e4f06583762c0'/>
path: root/tests/errors/CircularPlusImplementsIntros.java
blob: a9dde722c57b013f6e7a176b6bcd5d399ff98841 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
public class CircularPlusImplementsIntros {
    public static void main(String[] args) {
        org.aspectj.testing.Tester.check(false, "shouldn't have compiled!");
    }
}

interface I {}
interface J {}

class C {
    {
        I i = new I() {};
        J j = new J() {};
    }
}

aspect A {
    declare parents: I implements J;
    declare parents: J implements I;
}