aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs161/pr229910/Test.java
blob: 139ce636baa6274a7547da1fda06dd81f87f0c45 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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(); }

}