summaryrefslogtreecommitdiffstats
path: root/tests/new/EachCFlowRoot2.java
diff options
context:
space:
mode:
Diffstat (limited to 'tests/new/EachCFlowRoot2.java')
-rw-r--r--tests/new/EachCFlowRoot2.java13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/new/EachCFlowRoot2.java b/tests/new/EachCFlowRoot2.java
new file mode 100644
index 000000000..90c2361ef
--- /dev/null
+++ b/tests/new/EachCFlowRoot2.java
@@ -0,0 +1,13 @@
+import org.aspectj.testing.Tester;
+public class EachCFlowRoot2 {
+ public static void main(String[] args) {
+ Tester.check(true, "compiled");
+ }
+}
+aspect A of eachcflow(B.pctop()) {
+ pointcut pc() : within(C) ;
+}
+aspect B {
+ pointcut pctop(): within(C) && !cflow(within(C));
+}
+class C {}