summaryrefslogtreecommitdiffstats
path: root/tests/bugs164
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs164')
-rw-r--r--tests/bugs164/pr256779/OtherAspect.java12
-rw-r--r--tests/bugs164/pr256779/ThisAspect.java12
-rw-r--r--tests/bugs164/pr256779/aop.xml7
3 files changed, 31 insertions, 0 deletions
diff --git a/tests/bugs164/pr256779/OtherAspect.java b/tests/bugs164/pr256779/OtherAspect.java
new file mode 100644
index 000000000..05aa0ff74
--- /dev/null
+++ b/tests/bugs164/pr256779/OtherAspect.java
@@ -0,0 +1,12 @@
+package com;
+
+import org.aspectj.lang.annotation.*;
+
+
+@Aspect
+public class OtherAspect {
+ @Before("execution(* *(..))")
+ public void b() {}
+ //...
+}
+
diff --git a/tests/bugs164/pr256779/ThisAspect.java b/tests/bugs164/pr256779/ThisAspect.java
new file mode 100644
index 000000000..c07001fa2
--- /dev/null
+++ b/tests/bugs164/pr256779/ThisAspect.java
@@ -0,0 +1,12 @@
+package com;
+
+import org.aspectj.lang.annotation.*;
+
+@DeclarePrecedence("com.ThisAspect, com.OtherAspect")
+@Aspect public class ThisAspect {
+@Before("execution(* *(..))")
+public void b() {}
+ //...
+ public static void main(String[] argv) {}
+}
+
diff --git a/tests/bugs164/pr256779/aop.xml b/tests/bugs164/pr256779/aop.xml
new file mode 100644
index 000000000..8c2780304
--- /dev/null
+++ b/tests/bugs164/pr256779/aop.xml
@@ -0,0 +1,7 @@
+<aspectj>
+<aspects>
+<aspect name="com.OtherAspect"/>
+<aspect name="com.ThisAspect"/>
+</aspects>
+</aspectj>
+