diff options
-rw-r--r-- | tests/bugs164/pr260384/Broken.java | 18 | ||||
-rw-r--r-- | tests/bugs164/pr260384/Broken2.java | 18 |
2 files changed, 36 insertions, 0 deletions
diff --git a/tests/bugs164/pr260384/Broken.java b/tests/bugs164/pr260384/Broken.java new file mode 100644 index 000000000..c3e9cb14e --- /dev/null +++ b/tests/bugs164/pr260384/Broken.java @@ -0,0 +1,18 @@ + +interface I { + void getCode(); +} + +abstract class C1 implements I { +} + +abstract class C2 extends C1 { + public void m() { + getCode(); + } +} + + +aspect X { + before(int i): args(i) { }// call(* *(..)) && args(i) {} +} diff --git a/tests/bugs164/pr260384/Broken2.java b/tests/bugs164/pr260384/Broken2.java new file mode 100644 index 000000000..80ffb7db1 --- /dev/null +++ b/tests/bugs164/pr260384/Broken2.java @@ -0,0 +1,18 @@ + +interface I { + void getCode(); +} + +abstract class C1 implements I { +} + +abstract class C2 extends C1 { + public void m() { + getCode(); + } +} + + +aspect X { + before(): call(* g*(..)) {} +} |