aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs162
diff options
context:
space:
mode:
authoraclement <aclement>2008-09-29 19:16:22 +0000
committeraclement <aclement>2008-09-29 19:16:22 +0000
commit3fffdb9f5afd0f4b674c2942872663366738260b (patch)
tree1a06d653e8cdf009694979d5839d949324e847b2 /tests/bugs162
parent556feee2eeb05b1ef9d3e56324ae39db6e6c1598 (diff)
downloadaspectj-3fffdb9f5afd0f4b674c2942872663366738260b.tar.gz
aspectj-3fffdb9f5afd0f4b674c2942872663366738260b.zip
247683: test and fix: annotations on array delegates
Diffstat (limited to 'tests/bugs162')
-rw-r--r--tests/bugs162/pr247683/A.java12
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/bugs162/pr247683/A.java b/tests/bugs162/pr247683/A.java
new file mode 100644
index 000000000..e930893ca
--- /dev/null
+++ b/tests/bugs162/pr247683/A.java
@@ -0,0 +1,12 @@
+import java.lang.annotation.*;
+
+@Retention(RetentionPolicy.RUNTIME)
+@interface I {}
+
+aspect X {
+ declare warning: execution(* *(@(@I *) *)): "";
+}
+
+public class A {
+ public void foo(@I boolean[] bs) {}
+}