diff options
Diffstat (limited to 'tests/bugs161')
-rw-r--r-- | tests/bugs161/pr229910/Test.java | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/tests/bugs161/pr229910/Test.java b/tests/bugs161/pr229910/Test.java new file mode 100644 index 000000000..139ce636b --- /dev/null +++ b/tests/bugs161/pr229910/Test.java @@ -0,0 +1,31 @@ +public class Test { + + public static void main(String[] argv) { + new Foo(); + } + +} + +interface I {} + +abstract class AbstractFoo implements I { + + String f; + + AbstractFoo() { + } +} + +class Foo extends AbstractFoo { + + Foo() { + super(); + f = "hello"; + } +} + +aspect X { + + void around(): target(I) && set(* *) { proceed(); } + +} |