aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs164
diff options
context:
space:
mode:
authoraclement <aclement>2009-02-09 20:20:34 +0000
committeraclement <aclement>2009-02-09 20:20:34 +0000
commit2dca2a4e22cca7bafebcb474f707b2a423a8ac7e (patch)
treedb60f1640962cdbd8cfdbeef8bc8aba0bd746390 /tests/bugs164
parentb0089cb8c4931f46ba84a2462d08f3d30488df98 (diff)
downloadaspectj-2dca2a4e22cca7bafebcb474f707b2a423a8ac7e.tar.gz
aspectj-2dca2a4e22cca7bafebcb474f707b2a423a8ac7e.zip
262257: testcode
Diffstat (limited to 'tests/bugs164')
-rw-r--r--tests/bugs164/pr262257/C.java17
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>();
+ }
+}