diff options
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); + } +} |