diff options
author | aclement <aclement> | 2008-06-17 02:23:51 +0000 |
---|---|---|
committer | aclement <aclement> | 2008-06-17 02:23:51 +0000 |
commit | 4fb4bfabf4e0a0f45a7935fb542056a36b16217a (patch) | |
tree | 231df4955c6b33caa74fbc670fe728549f2bc012 | |
parent | 7090caca7a69163f9ee60498f460dd2ee67d3ea2 (diff) | |
download | aspectj-4fb4bfabf4e0a0f45a7935fb542056a36b16217a.tar.gz aspectj-4fb4bfabf4e0a0f45a7935fb542056a36b16217a.zip |
237381: testcode
-rw-r--r-- | tests/bugs161/pr237381/Deow1.java | 16 | ||||
-rw-r--r-- | tests/bugs161/pr237381/Deow2.java | 16 |
2 files changed, 32 insertions, 0 deletions
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() {} +} |