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