aboutsummaryrefslogtreecommitdiffstats
path: root/tests/bugs160/pr201748/Foo.java
blob: 8faf23eaf01b1307a43fb3c495fd7ce1299dbbbb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
aspect MA {
  Factory AnyClass.myfactory = Factory.create();
}

class Factory {
  public static Factory[] create() {
    return null;
  }
}

class AnyClass {
}

public class Foo {
  public static void main(String []argv) {
    new AnyClass();
  }
}