diff options
author | aclement <aclement> | 2009-02-09 20:20:34 +0000 |
---|---|---|
committer | aclement <aclement> | 2009-02-09 20:20:34 +0000 |
commit | 2dca2a4e22cca7bafebcb474f707b2a423a8ac7e (patch) | |
tree | db60f1640962cdbd8cfdbeef8bc8aba0bd746390 /tests/bugs164 | |
parent | b0089cb8c4931f46ba84a2462d08f3d30488df98 (diff) | |
download | aspectj-2dca2a4e22cca7bafebcb474f707b2a423a8ac7e.tar.gz aspectj-2dca2a4e22cca7bafebcb474f707b2a423a8ac7e.zip |
262257: testcode
Diffstat (limited to 'tests/bugs164')
-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>(); + } +} |