aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs164
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs164')
-rw-r--r--tests/bugs164/pr233032/A.java21
1 files changed, 21 insertions, 0 deletions
diff --git a/tests/bugs164/pr233032/A.java b/tests/bugs164/pr233032/A.java
new file mode 100644
index 000000000..6ec8c5ff2
--- /dev/null
+++ b/tests/bugs164/pr233032/A.java
@@ -0,0 +1,21 @@
+import org.aspectj.lang.*;
+import org.aspectj.lang.annotation.*;
+
+@Aspect("percflow(within(C))")
+public class A {
+
+ @Before("execution(* foo(..)) && cflow(execution(* bar(..)) && this(o))")
+ public void m(Object o) {}
+
+ public static void main(String[] argv) {
+ new C().bar();
+ }
+
+}
+
+class C {
+ public void bar() {
+ foo();
+ }
+ public void foo() {}
+}