summaryrefslogtreecommitdiffstats
path: root/tests/bugs150/pr110788/Case1.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs150/pr110788/Case1.java')
-rw-r--r--tests/bugs150/pr110788/Case1.java11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/bugs150/pr110788/Case1.java b/tests/bugs150/pr110788/Case1.java
new file mode 100644
index 000000000..f5a55d2df
--- /dev/null
+++ b/tests/bugs150/pr110788/Case1.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<Number>; // Can't do it, C implement A<String>
+}