From 4fb4bfabf4e0a0f45a7935fb542056a36b16217a Mon Sep 17 00:00:00 2001 From: aclement Date: Tue, 17 Jun 2008 02:23:51 +0000 Subject: [PATCH] 237381: testcode --- tests/bugs161/pr237381/Deow1.java | 16 ++++++++++++++++ tests/bugs161/pr237381/Deow2.java | 16 ++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 tests/bugs161/pr237381/Deow1.java create mode 100644 tests/bugs161/pr237381/Deow2.java diff --git a/tests/bugs161/pr237381/Deow1.java b/tests/bugs161/pr237381/Deow1.java new file mode 100644 index 000000000..88ae8f6a2 --- /dev/null +++ b/tests/bugs161/pr237381/Deow1.java @@ -0,0 +1,16 @@ +import org.aspectj.lang.annotation.*; + +aspect X { + @DeclareWarning("execution(* *.foo(..))") + public static final String argleBargle = "fromX"; + + public void foo() {} +} + +@Aspect +class Y { + @DeclareWarning("execution(* *.goo(..))") + public static final String argleBargle = "fromY"; + + public void goo() {} +} diff --git a/tests/bugs161/pr237381/Deow2.java b/tests/bugs161/pr237381/Deow2.java new file mode 100644 index 000000000..1416dbc74 --- /dev/null +++ b/tests/bugs161/pr237381/Deow2.java @@ -0,0 +1,16 @@ +import org.aspectj.lang.annotation.*; + +aspect X { + @DeclareError("execution(* *.foo(..))") + public static final String argleBargle = "fromX"; + + public void foo() {} +} + +@Aspect +class Y { + @DeclareError("execution(* *.goo(..))") + public static final String argleBargle = "fromY"; + + public void goo() {} +} -- 2.39.5