summaryrefslogtreecommitdiffstats
path: root/tests/bugs150/pr110788/Case2.java
blob: d995509bbb4e945d1b8da1a3af9dc9eac2a9c910 (plain)
1
2
3
4
5
6
7
8
9
interface A<T> {}

class C implements A<String> {}

class D extends C {}

aspect X {
  declare parents: D implements A<Number>; // Can't do it, C implements A<String>
}