diff options
Diffstat (limited to 'tests/bugs172/pr389750/Code3.aj')
-rw-r--r-- | tests/bugs172/pr389750/Code3.aj | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/bugs172/pr389750/Code3.aj b/tests/bugs172/pr389750/Code3.aj new file mode 100644 index 000000000..ba30b7f69 --- /dev/null +++ b/tests/bugs172/pr389750/Code3.aj @@ -0,0 +1,17 @@ +import java.io.*; + +interface Persistable<ID extends Serializable> { + +} + +public aspect Code3 { + + public interface I<ID extends Serializable> extends Persistable<ID> { + } + + public static void foo() {} + + public Z I<Z>.bar(Z foo, Persistable<?> that) { + return foo; + } +} |