diff options
author | aclement <aclement> | 2008-03-18 21:15:11 +0000 |
---|---|---|
committer | aclement <aclement> | 2008-03-18 21:15:11 +0000 |
commit | 97239158227f2170d33f4aba0dae7b01f1508de0 (patch) | |
tree | 00aa595361241de9305ec3e570d29d34cccbc7e7 /tests/bugs160 | |
parent | e95bd7610b7da1aae7aa6fc309f78bca3d76ce85 (diff) | |
download | aspectj-97239158227f2170d33f4aba0dae7b01f1508de0.tar.gz aspectj-97239158227f2170d33f4aba0dae7b01f1508de0.zip |
223094 - test case
Diffstat (limited to 'tests/bugs160')
-rw-r--r-- | tests/bugs160/pr223094/A.java | 8 | ||||
-rw-r--r-- | tests/bugs160/pr223094/B.java | 12 | ||||
-rw-r--r-- | tests/bugs160/pr223094/aop.xml | 13 |
3 files changed, 33 insertions, 0 deletions
diff --git a/tests/bugs160/pr223094/A.java b/tests/bugs160/pr223094/A.java new file mode 100644 index 000000000..8d6dcbcc2 --- /dev/null +++ b/tests/bugs160/pr223094/A.java @@ -0,0 +1,8 @@ +package p; + +public class A { + public static void main(String []argv) { + ((IFace)new A()).foo(); + System.out.println("ok"); + } +} diff --git a/tests/bugs160/pr223094/B.java b/tests/bugs160/pr223094/B.java new file mode 100644 index 000000000..da87f7e5d --- /dev/null +++ b/tests/bugs160/pr223094/B.java @@ -0,0 +1,12 @@ +package p; + +aspect B extends Y { + declare parents: A* implements IFace; + +} + +abstract aspect Y { + public void IFace.foo() {} +} + +interface IFace {} diff --git a/tests/bugs160/pr223094/aop.xml b/tests/bugs160/pr223094/aop.xml new file mode 100644 index 000000000..c67e03296 --- /dev/null +++ b/tests/bugs160/pr223094/aop.xml @@ -0,0 +1,13 @@ +<?xml version="1.0"?> +<aspectj> + + + <weaver options="-verbose -showWeaveInfo"> + </weaver> + + <aspects> + <aspect name="p.B"/> + </aspects> + +</aspectj> + |