aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs153/pr154054/src/MyAspect.aj
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs153/pr154054/src/MyAspect.aj')
-rw-r--r--tests/bugs153/pr154054/src/MyAspect.aj10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/bugs153/pr154054/src/MyAspect.aj b/tests/bugs153/pr154054/src/MyAspect.aj
new file mode 100644
index 000000000..4aa4e9734
--- /dev/null
+++ b/tests/bugs153/pr154054/src/MyAspect.aj
@@ -0,0 +1,10 @@
+public aspect MyAspect {
+
+ pointcut mypointcut(): execution(* getX()) && !within(MyAspect);
+
+ int around(): mypointcut() {
+ int w = proceed() + 3;
+ return w;
+ }
+
+}