diff options
author | acolyer <acolyer> | 2004-01-14 15:51:53 +0000 |
---|---|---|
committer | acolyer <acolyer> | 2004-01-14 15:51:53 +0000 |
commit | 0071cb4d0f30fc95f335eb6df73ad09e92d662ed (patch) | |
tree | 6851f19ac48a5a80772a73b86e2c1ea7105b575d /tests/bugs | |
parent | 5834de97836ebcc056415736c17c46e8b1dfaf5a (diff) | |
download | aspectj-0071cb4d0f30fc95f335eb6df73ad09e92d662ed.tar.gz aspectj-0071cb4d0f30fc95f335eb6df73ad09e92d662ed.zip |
Fix for 38824.
Diffstat (limited to 'tests/bugs')
-rw-r--r-- | tests/bugs/AbstractBaseAndInterTypeInterface.java | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/tests/bugs/AbstractBaseAndInterTypeInterface.java b/tests/bugs/AbstractBaseAndInterTypeInterface.java new file mode 100644 index 000000000..7a70f9aae --- /dev/null +++ b/tests/bugs/AbstractBaseAndInterTypeInterface.java @@ -0,0 +1,30 @@ +// pr 38824 + + +public class AbstractBaseAndInterTypeInterface { + + interface I + { + public void foo(); + } + + /*abstract*/ class A implements I + { + } + + class B extends A + { + } + + private static aspect Test + { + protected interface ITest {}; + + declare parents: A implements ITest; + + public void ITest.foo() + { + System.out.println("Hi"); + } + } +}
\ No newline at end of file |