aboutsummaryrefslogtreecommitdiffstats
path: root/tests/model/pr120356/A.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/model/pr120356/A.java')
-rw-r--r--tests/model/pr120356/A.java15
1 files changed, 15 insertions, 0 deletions
diff --git a/tests/model/pr120356/A.java b/tests/model/pr120356/A.java
new file mode 100644
index 000000000..628205610
--- /dev/null
+++ b/tests/model/pr120356/A.java
@@ -0,0 +1,15 @@
+
+import org.aspectj.lang.annotation.Aspect;
+import org.aspectj.lang.annotation.DeclareWarning;
+import org.aspectj.lang.annotation.DeclareError;
+
+@Aspect
+public class A {
+
+ @DeclareWarning("execution(* C.warningMethod())")
+ static final String warning = "warning";
+
+ @DeclareError("execution(* C.badMethod())")
+ static final String error = "error";
+
+}