aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs151
diff options
context:
space:
mode:
authoraclement <aclement>2006-01-25 09:04:53 +0000
committeraclement <aclement>2006-01-25 09:04:53 +0000
commit1f4956a4e31ac88bcc97a98da3f84c89413cd0a1 (patch)
treef5ccf4021711ee5fdb65fb1de1ae70b5bacc491d /tests/bugs151
parenta4bd19d25597a31e1b76cc5fc188c3112bf0f5ff (diff)
downloadaspectj-1f4956a4e31ac88bcc97a98da3f84c89413cd0a1.tar.gz
aspectj-1f4956a4e31ac88bcc97a98da3f84c89413cd0a1.zip
testcode for 122452
Diffstat (limited to 'tests/bugs151')
-rw-r--r--tests/bugs151/pr122452.aj7
-rw-r--r--tests/bugs151/pr122452_2.aj5
2 files changed, 12 insertions, 0 deletions
diff --git a/tests/bugs151/pr122452.aj b/tests/bugs151/pr122452.aj
new file mode 100644
index 000000000..1be5e5051
--- /dev/null
+++ b/tests/bugs151/pr122452.aj
@@ -0,0 +1,7 @@
+public aspect pr122452 {
+ pointcut greeting() : call (* Point.sayHello(..));
+ pointcut greeting2() : call (* related.Hello.sayHello(..));
+ after() returning() : greeting*() {
+ System.out.println(" World!");
+ }
+}
diff --git a/tests/bugs151/pr122452_2.aj b/tests/bugs151/pr122452_2.aj
new file mode 100644
index 000000000..1dbc1da8e
--- /dev/null
+++ b/tests/bugs151/pr122452_2.aj
@@ -0,0 +1,5 @@
+public aspect pr122452_2 {
+ after() returning() : greeting*() {
+ System.out.println(" World!");
+ }
+}