diff options
Diffstat (limited to 'tests/bugs164/pr262257')
-rw-r--r-- | tests/bugs164/pr262257/C.java | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/bugs164/pr262257/C.java b/tests/bugs164/pr262257/C.java new file mode 100644 index 000000000..ea588ae4c --- /dev/null +++ b/tests/bugs164/pr262257/C.java @@ -0,0 +1,17 @@ +import java.util.*; + +interface I { + public <T> List<T> getStuff(); +} + +class C<D extends Set> implements I { + public <T extends D> List<T> getStuff(){ + return new LinkedList<T>(); + } +} + +aspect X { + public <T> List<T> I.getStuff(){ + return new ArrayList<T>(); + } +} |