diff options
author | aclement <aclement> | 2006-05-18 08:14:34 +0000 |
---|---|---|
committer | aclement <aclement> | 2006-05-18 08:14:34 +0000 |
commit | 13035136f74ea376942070bf2b9fb9fa6d710cbe (patch) | |
tree | 551393a0b15ff58e3f8610fee2824bf5663d4ea0 /tests/bugs152 | |
parent | bf5c6b8b011fa305ec446e1e9ff5c45ef64f8814 (diff) | |
download | aspectj-13035136f74ea376942070bf2b9fb9fa6d710cbe.tar.gz aspectj-13035136f74ea376942070bf2b9fb9fa6d710cbe.zip |
testcode for 134425
Diffstat (limited to 'tests/bugs152')
-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 |