aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs150/pr110788/Case3.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs150/pr110788/Case3.java')
-rw-r--r--tests/bugs150/pr110788/Case3.java11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/bugs150/pr110788/Case3.java b/tests/bugs150/pr110788/Case3.java
new file mode 100644
index 000000000..726ca11cf
--- /dev/null
+++ b/tests/bugs150/pr110788/Case3.java
@@ -0,0 +1,11 @@
+interface A<T> {}
+
+interface B<T> extends A<T> {}
+
+class C implements A<String> {}
+
+class D extends C {}
+
+aspect X {
+ declare parents: D implements B<String>; // Can do it, parameterizations are compatible
+}