aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs183/436653/XA3.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs183/436653/XA3.java')
-rw-r--r--tests/bugs183/436653/XA3.java9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/bugs183/436653/XA3.java b/tests/bugs183/436653/XA3.java
new file mode 100644
index 000000000..483d310ae
--- /dev/null
+++ b/tests/bugs183/436653/XA3.java
@@ -0,0 +1,9 @@
+import org.aspectj.lang.annotation.*;
+
+// Aspect deactivated if A or B is missing (although aspect only really needs A)
+@RequiredTypes({"A","B"})
+aspect XA2 {
+ @SuppressAjWarnings("adviceDidNotMatch")
+ before(): execution(* A.*(..)) {}
+}
+