aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs167
diff options
context:
space:
mode:
authoraclement <aclement>2009-10-23 18:59:03 +0000
committeraclement <aclement>2009-10-23 18:59:03 +0000
commit94e49ef3791e21ca5e73e7bd924367fcda07aedb (patch)
tree0378376e5ff26f22559b8be65db3008afa43f0e9 /tests/bugs167
parentbccc3395c43335b671d1f060f370e644053fe268 (diff)
downloadaspectj-94e49ef3791e21ca5e73e7bd924367fcda07aedb.tar.gz
aspectj-94e49ef3791e21ca5e73e7bd924367fcda07aedb.zip
293203: annotations with multiple ellipses'
Diffstat (limited to 'tests/bugs167')
-rw-r--r--tests/bugs167/pr293203/Foo.java16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/bugs167/pr293203/Foo.java b/tests/bugs167/pr293203/Foo.java
new file mode 100644
index 000000000..83e766d63
--- /dev/null
+++ b/tests/bugs167/pr293203/Foo.java
@@ -0,0 +1,16 @@
+public class Foo {
+ public void m(int i,@Anno String s,int j) {}
+
+ public static void main(String []argv) {
+ new Foo().m(1,"A",2);
+ }
+}
+
+@interface Anno {}
+
+aspect X {
+ before(): execution(* *(..,String,..)) {System.out.println("advice");}
+ before(): execution(* *(..,@Anno (String),..)) {System.out.println("advice");}
+ before(): execution(* *(*,@Anno (String),*)) {System.out.println("advice");}
+}
+