diff options
Diffstat (limited to 'tests/bugs150/pr80571.aj')
-rw-r--r-- | tests/bugs150/pr80571.aj | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/tests/bugs150/pr80571.aj b/tests/bugs150/pr80571.aj new file mode 100644 index 000000000..f7e3bc806 --- /dev/null +++ b/tests/bugs150/pr80571.aj @@ -0,0 +1,22 @@ +public class pr80571 { + + public static void main(String[] args) { + new pr80571(); + } + +} + +interface I { + public final String NAME = "I"; + public pr80571 testObj = new pr80571(); + +} + +aspect A { + Object around() : call(*.new(..)) { + System.out.println("before"); + Object ret = proceed(); + System.out.println("after"); + return ret; + } +}
\ No newline at end of file |