diff options
Diffstat (limited to 'tests/bugs150')
-rw-r--r-- | tests/bugs150/pr99125/Aspects.aj | 19 | ||||
-rw-r--r-- | tests/bugs150/pr99125/p/I.java | 6 | ||||
-rw-r--r-- | tests/bugs150/pr99125/p/J.java | 4 | ||||
-rw-r--r-- | tests/bugs150/pr99125/p/pr99125.aj | 10 | ||||
-rw-r--r-- | tests/bugs150/pr99125/p2/pr99125.aj | 11 |
5 files changed, 50 insertions, 0 deletions
diff --git a/tests/bugs150/pr99125/Aspects.aj b/tests/bugs150/pr99125/Aspects.aj new file mode 100644 index 000000000..96fa6b4b6 --- /dev/null +++ b/tests/bugs150/pr99125/Aspects.aj @@ -0,0 +1,19 @@ +import p.*; + +abstract aspect X { + + public void I.bar() {} + + public void pr99125.aMethod() {} + +} + +aspect Y extends X { + + public void I.goo() {}; + + public void I.foo() { System.out.println("you got me"); } + +} + +aspect Z extends X {}
\ No newline at end of file diff --git a/tests/bugs150/pr99125/p/I.java b/tests/bugs150/pr99125/p/I.java new file mode 100644 index 000000000..fbbd7ace4 --- /dev/null +++ b/tests/bugs150/pr99125/p/I.java @@ -0,0 +1,6 @@ +package p; +public interface I { + + void foo(); + +}
\ No newline at end of file diff --git a/tests/bugs150/pr99125/p/J.java b/tests/bugs150/pr99125/p/J.java new file mode 100644 index 000000000..fc1331005 --- /dev/null +++ b/tests/bugs150/pr99125/p/J.java @@ -0,0 +1,4 @@ +package p; + +public +interface J extends I {}
\ No newline at end of file diff --git a/tests/bugs150/pr99125/p/pr99125.aj b/tests/bugs150/pr99125/p/pr99125.aj new file mode 100644 index 000000000..b4969d059 --- /dev/null +++ b/tests/bugs150/pr99125/p/pr99125.aj @@ -0,0 +1,10 @@ +package p; +public class pr99125 implements J { + + public static void main(String[] args) { + new pr99125().foo(); + } + + public void foo() {} + +} diff --git a/tests/bugs150/pr99125/p2/pr99125.aj b/tests/bugs150/pr99125/p2/pr99125.aj new file mode 100644 index 000000000..4f860c301 --- /dev/null +++ b/tests/bugs150/pr99125/p2/pr99125.aj @@ -0,0 +1,11 @@ +package p; +public class pr99125 implements J { + + public static void main(String[] args) { + new pr99125().foo(); + } + + public void foo() {} + + public void aMethod() {} +} |