aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs180
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs180')
-rw-r--r--tests/bugs180/432178/A.java9
-rw-r--r--tests/bugs180/432178/B.java7
-rw-r--r--tests/bugs180/432178/PerCFlowBug.java11
-rw-r--r--tests/bugs180/432178/aop.xml9
4 files changed, 36 insertions, 0 deletions
diff --git a/tests/bugs180/432178/A.java b/tests/bugs180/432178/A.java
new file mode 100644
index 000000000..1ed166fa6
--- /dev/null
+++ b/tests/bugs180/432178/A.java
@@ -0,0 +1,9 @@
+public class A
+{
+ public static void main(String [] args)
+ {
+ B test = new B();
+ test.met();
+ }
+}
+
diff --git a/tests/bugs180/432178/B.java b/tests/bugs180/432178/B.java
new file mode 100644
index 000000000..624865cc9
--- /dev/null
+++ b/tests/bugs180/432178/B.java
@@ -0,0 +1,7 @@
+public class B
+{
+ public void met()
+ {
+ System.out.println("foo");
+ }
+}
diff --git a/tests/bugs180/432178/PerCFlowBug.java b/tests/bugs180/432178/PerCFlowBug.java
new file mode 100644
index 000000000..e81bd65c4
--- /dev/null
+++ b/tests/bugs180/432178/PerCFlowBug.java
@@ -0,0 +1,11 @@
+public abstract aspect PerCFlowBug percflow(pointexp())
+{
+ String name = "bar";
+
+ abstract pointcut pointexp();
+
+ after() : pointexp()
+ {
+ System.out.println(name);
+ }
+}
diff --git a/tests/bugs180/432178/aop.xml b/tests/bugs180/432178/aop.xml
new file mode 100644
index 000000000..dc317213e
--- /dev/null
+++ b/tests/bugs180/432178/aop.xml
@@ -0,0 +1,9 @@
+<aspectj>
+ <aspects>
+ <concrete-aspect name="PerCFlowBugImpl" extends="PerCFlowBug">
+ <pointcut name="pointexp" expression="(call (void *.met(..)))"/>
+ </concrete-aspect>
+ </aspects>
+ <weaver options="-verbose -debug -showWeaveInfo" >
+ </weaver>
+</aspectj>