diff options
author | aclement <aclement> | 2008-06-10 18:52:11 +0000 |
---|---|---|
committer | aclement <aclement> | 2008-06-10 18:52:11 +0000 |
commit | 58961143f7f8e28243a9ae58cd89b25ee14b318d (patch) | |
tree | 2ad81575a2b65d6f8a4af76520cc30c9146ad845 /tests/bugs161/pr235505/B.java | |
parent | 5c042e543e1c66a8fe023dcd29f2cb30486d033f (diff) | |
download | aspectj-58961143f7f8e28243a9ae58cd89b25ee14b318d.tar.gz aspectj-58961143f7f8e28243a9ae58cd89b25ee14b318d.zip |
tests for 159268, 235505, 64222 (all parser related)
Diffstat (limited to 'tests/bugs161/pr235505/B.java')
-rw-r--r-- | tests/bugs161/pr235505/B.java | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/bugs161/pr235505/B.java b/tests/bugs161/pr235505/B.java new file mode 100644 index 000000000..f06802c13 --- /dev/null +++ b/tests/bugs161/pr235505/B.java @@ -0,0 +1,16 @@ +privileged abstract aspect A<T> { + public void foo(T t) { System.out.println(t); } + before(T t): execution(* *(..)) && args(t) && !within(A+) { foo(t); } +} + +aspect X extends A<String> {} + +public class B { + public static void main(String []argv) { + new B().run("Hello World"); + } + + public void run(String s) { + System.out.println(s); + } +} |