aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs162
diff options
context:
space:
mode:
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) {}
+}