aboutsummaryrefslogtreecommitdiffstats
path: root/tests/errors/AmbiguousInterface.java
blob: 323b5f78ded9b6c47bbd0442311612aa7248cca6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
public class AmbiguousInterface {
    public static void main(String[] args) {
        org.aspectj.testing.Tester.check(false, "shouldn't have compiled");
    }
}
interface Outer {
    interface Inner extends Outer {
        interface Questionable {}
    }
    interface Questionable extends Inner {}
}
interface Another extends Outer, Outer.Questionable {
    interface AnotherInner extends Questionable {}
}