aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs150
diff options
context:
space:
mode:
authoraclement <aclement>2005-10-20 13:54:50 +0000
committeraclement <aclement>2005-10-20 13:54:50 +0000
commitf06df41e4038bbde47a9934b240a3c064aa26099 (patch)
treec8a09896078815e11362a835fce6e4523072fa3e /tests/bugs150
parente2b7b8b307e3fe03d8a329b08ffb9d8a0e4e6c27 (diff)
downloadaspectj-f06df41e4038bbde47a9934b240a3c064aa26099.tar.gz
aspectj-f06df41e4038bbde47a9934b240a3c064aa26099.zip
test and fix for pr113073 from Helen
Diffstat (limited to 'tests/bugs150')
-rw-r--r--tests/bugs150/pr113073.java17
1 files changed, 17 insertions, 0 deletions
diff --git a/tests/bugs150/pr113073.java b/tests/bugs150/pr113073.java
new file mode 100644
index 000000000..9e57ffaa9
--- /dev/null
+++ b/tests/bugs150/pr113073.java
@@ -0,0 +1,17 @@
+@interface Annotation{}
+aspect B {
+ declare @method : public * C.anotherMethod(..) : @Annotation; // should be woven
+ declare @constructor : C.new(String) : @Annotation;
+}
+
+class C {
+}
+
+aspect D {
+ public C.new(String s) {
+ }
+ public void C.anotherMethod(String s) {
+ }
+ public void C.anotherMethod() {
+ }
+}