summaryrefslogtreecommitdiffstats
path: root/tests/bugs161/pr237381/Deow1.java
diff options
context:
space:
mode:
authoraclement <aclement>2008-06-17 02:23:51 +0000
committeraclement <aclement>2008-06-17 02:23:51 +0000
commit4fb4bfabf4e0a0f45a7935fb542056a36b16217a (patch)
tree231df4955c6b33caa74fbc670fe728549f2bc012 /tests/bugs161/pr237381/Deow1.java
parent7090caca7a69163f9ee60498f460dd2ee67d3ea2 (diff)
downloadaspectj-4fb4bfabf4e0a0f45a7935fb542056a36b16217a.tar.gz
aspectj-4fb4bfabf4e0a0f45a7935fb542056a36b16217a.zip
237381: testcode
Diffstat (limited to 'tests/bugs161/pr237381/Deow1.java')
-rw-r--r--tests/bugs161/pr237381/Deow1.java16
1 files changed, 16 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() {}
+}