summaryrefslogtreecommitdiffstats
path: root/tests/bugs150
diff options
context:
space:
mode:
authoracolyer <acolyer>2005-09-01 08:30:41 +0000
committeracolyer <acolyer>2005-09-01 08:30:41 +0000
commita66e0a2aa8a6cb057f4b0d740ad961fb1ede5e85 (patch)
tree597d2b53bf5c38031c2e9e722ff3fe968bd24911 /tests/bugs150
parent0c0f2d509a0329fbcf2fd1f1ff65b93b31880cf3 (diff)
downloadaspectj-a66e0a2aa8a6cb057f4b0d740ad961fb1ede5e85.tar.gz
aspectj-a66e0a2aa8a6cb057f4b0d740ad961fb1ede5e85.zip
tests and fix for pr59196, args pcd not ignoring synthetic arguments at adviceexecution join points
Diffstat (limited to 'tests/bugs150')
-rw-r--r--tests/bugs150/pr59196.aj18
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/bugs150/pr59196.aj b/tests/bugs150/pr59196.aj
new file mode 100644
index 000000000..f54d98097
--- /dev/null
+++ b/tests/bugs150/pr59196.aj
@@ -0,0 +1,18 @@
+aspect some_aspect {
+ pointcut call_m(int a, int b) : call(int *.m(..)) && args(a, b);
+
+ int m(int p, int q) { return 2; }
+
+ void foo() {
+ m(1,4);
+ }
+
+ int around(int x, int y) : call_m(x, y) { return 5; }
+}
+
+aspect other_aspect {
+ before(int x, int y) :
+ adviceexecution() && within(some_aspect) && args(x, y) {
+
+ }
+} \ No newline at end of file