From 97239158227f2170d33f4aba0dae7b01f1508de0 Mon Sep 17 00:00:00 2001 From: aclement Date: Tue, 18 Mar 2008 21:15:11 +0000 Subject: [PATCH] 223094 - test case --- tests/bugs160/pr223094/A.java | 8 ++++++++ tests/bugs160/pr223094/B.java | 12 ++++++++++++ tests/bugs160/pr223094/aop.xml | 13 +++++++++++++ 3 files changed, 33 insertions(+) create mode 100644 tests/bugs160/pr223094/A.java create mode 100644 tests/bugs160/pr223094/B.java create mode 100644 tests/bugs160/pr223094/aop.xml 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 @@ + + + + + + + + + + + + + -- 2.39.5