aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs152
diff options
context:
space:
mode:
authoraclement <aclement>2006-05-18 08:14:34 +0000
committeraclement <aclement>2006-05-18 08:14:34 +0000
commit13035136f74ea376942070bf2b9fb9fa6d710cbe (patch)
tree551393a0b15ff58e3f8610fee2824bf5663d4ea0 /tests/bugs152
parentbf5c6b8b011fa305ec446e1e9ff5c45ef64f8814 (diff)
downloadaspectj-13035136f74ea376942070bf2b9fb9fa6d710cbe.tar.gz
aspectj-13035136f74ea376942070bf2b9fb9fa6d710cbe.zip
testcode for 134425
Diffstat (limited to 'tests/bugs152')
-rw-r--r--tests/bugs152/pr134425/Derived.aj17
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