diff options
Diffstat (limited to 'tests/bugs152/pr134425/Derived.aj')
-rw-r--r-- | tests/bugs152/pr134425/Derived.aj | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/bugs152/pr134425/Derived.aj b/tests/bugs152/pr134425/Derived.aj new file mode 100644 index 000000000..dcf2e9a01 --- /dev/null +++ b/tests/bugs152/pr134425/Derived.aj @@ -0,0 +1,17 @@ +public aspect Derived { + public interface DerivedBean extends Base.BaseBean {} + + public String DerivedBean.describe() { + return "Derived state plus "+super.describe(); + } + public static void main(String args[]) { + new DerivedBean() {}.describe(); + } +} + +aspect Base { + public interface BaseBean {} + public String BaseBean.describe() { + return "Base holds "+super.toString(); + } +}
\ No newline at end of file |