aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs192/11flags/A.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs192/11flags/A.java')
-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(..)) {}
+}