diff options
author | aclement <aclement> | 2006-05-05 08:04:34 +0000 |
---|---|---|
committer | aclement <aclement> | 2006-05-05 08:04:34 +0000 |
commit | 6cc28740d01a06428037612b3d33bee5eeab7733 (patch) | |
tree | 97f1201102b32b80ae8a5aa6337db1b49494f18a /tests/bugs152 | |
parent | ab00b0b5636ccae2d5bafc6c58f9aa02c5dcaf9c (diff) | |
download | aspectj-6cc28740d01a06428037612b3d33bee5eeab7733.tar.gz aspectj-6cc28740d01a06428037612b3d33bee5eeab7733.zip |
test for 136393
Diffstat (limited to 'tests/bugs152')
-rw-r--r-- | tests/bugs152/pr136393/World.aj | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/tests/bugs152/pr136393/World.aj b/tests/bugs152/pr136393/World.aj new file mode 100644 index 000000000..2fcc4bc51 --- /dev/null +++ b/tests/bugs152/pr136393/World.aj @@ -0,0 +1,23 @@ +package hello; + +public aspect World { + pointcut greeting(): + execution(* Hello.sayHello(..)); + after() returning: greeting() { + System.out.println(" World!"); + } + + String.new(Hello c) { + this(h.sayHell()); + } + + private static void main(String[] args) { + String s = new String(new Hello()); + Stystems.substring(0); + } + +} + +class Hello { + public void sayHell() {} +}
\ No newline at end of file |