summaryrefslogtreecommitdiffstats
path: root/tests/bugs152
diff options
context:
space:
mode:
authoraclement <aclement>2006-06-22 08:04:54 +0000
committeraclement <aclement>2006-06-22 08:04:54 +0000
commit76d1bc7bdfe7665c6d4fd04c852b92f17d255ddb (patch)
tree7c301671771a1346f4daccfc3f8d7899e135d974 /tests/bugs152
parent685d347782772e00d14b078c065162b44e79d40d (diff)
downloadaspectj-76d1bc7bdfe7665c6d4fd04c852b92f17d255ddb.tar.gz
aspectj-76d1bc7bdfe7665c6d4fd04c852b92f17d255ddb.zip
148027: dont generate usespointcut relationship (for now...)
Diffstat (limited to 'tests/bugs152')
-rw-r--r--tests/bugs152/pr148027/A.aj15
-rw-r--r--tests/bugs152/pr148027/C.aj10
2 files changed, 25 insertions, 0 deletions
diff --git a/tests/bugs152/pr148027/A.aj b/tests/bugs152/pr148027/A.aj
new file mode 100644
index 000000000..306f14b68
--- /dev/null
+++ b/tests/bugs152/pr148027/A.aj
@@ -0,0 +1,15 @@
+package pkg;
+
+public aspect A {
+
+ before() : C.pointcutInClass() {
+ }
+
+ pointcut pointcutInAspect() : execution(void aMethod());
+
+ before() : pointcutInAspect() {
+ }
+
+ public void aMethod() {
+ }
+}
diff --git a/tests/bugs152/pr148027/C.aj b/tests/bugs152/pr148027/C.aj
new file mode 100644
index 000000000..63b4e6cb6
--- /dev/null
+++ b/tests/bugs152/pr148027/C.aj
@@ -0,0 +1,10 @@
+package pkg;
+
+public class C {
+
+ pointcut pointcutInClass() : execution(void cMethod());
+
+ public void cMethod() {
+
+ }
+}