aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs154
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs154')
-rw-r--r--tests/bugs154/pr169428/CorrectError.java8
-rw-r--r--tests/bugs154/pr169428/NoError.java8
2 files changed, 16 insertions, 0 deletions
diff --git a/tests/bugs154/pr169428/CorrectError.java b/tests/bugs154/pr169428/CorrectError.java
new file mode 100644
index 000000000..5677c4291
--- /dev/null
+++ b/tests/bugs154/pr169428/CorrectError.java
@@ -0,0 +1,8 @@
+import org.aspectj.lang.annotation.*;
+
+class ClassMissingAspectAnnotation {
+
+ @Before("execution(* *(..))")
+ public void m() { }
+
+} \ No newline at end of file
diff --git a/tests/bugs154/pr169428/NoError.java b/tests/bugs154/pr169428/NoError.java
new file mode 100644
index 000000000..bf57fc968
--- /dev/null
+++ b/tests/bugs154/pr169428/NoError.java
@@ -0,0 +1,8 @@
+import org.aspectj.lang.annotation.*;
+
+class ClassMissingAspectAnnotation {
+
+ @DeclareParents("*")
+ public java.io.Serializable s;
+
+} \ No newline at end of file