aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs192
diff options
context:
space:
mode:
authorAndy Clement <aclement@pivotal.io>2018-10-10 12:56:00 -0700
committerAndy Clement <aclement@pivotal.io>2018-10-10 12:56:00 -0700
commit46a1172aac0b24ccbcb38083ff66d8e8e4ff2d17 (patch)
tree0088ad1a923a4d13e34f921abd65ab73241bc6d8 /tests/bugs192
parent95a9c5db0c9b4b0011f12eb0df93beac5278aa0b (diff)
downloadaspectj-46a1172aac0b24ccbcb38083ff66d8e8e4ff2d17.tar.gz
aspectj-46a1172aac0b24ccbcb38083ff66d8e8e4ff2d17.zip
Reverse default - behave like 1.5 (support annotations) by default
Diffstat (limited to 'tests/bugs192')
-rw-r--r--tests/bugs192/11flags/A.java13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/bugs192/11flags/A.java b/tests/bugs192/11flags/A.java
new file mode 100644
index 000000000..02d6e88f0
--- /dev/null
+++ b/tests/bugs192/11flags/A.java
@@ -0,0 +1,13 @@
+import java.lang.annotation.*;
+
+@Retention(RetentionPolicy.RUNTIME)
+@interface B {}
+
+public class A {
+ @B
+ public void foo() {}
+}
+
+aspect X {
+ before(): execution(@B * foo(..)) {}
+}