summaryrefslogtreecommitdiffstats
path: root/tests/features169/itdInnerTypes/Construction4.java
blob: 5c97371b8e317451f3aba03529820f54ec9b51ce (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
aspect Aspect1 {
  public static Construction4._ Construction4._() { return new _("abc"); }
  public static String Construction4.foo() { return "abc"; }
}
aspect Aspect2 {
  public static class Construction4._ {
    String string;
    public _(String string) { this.string = string;}
    public String toString() {
      return string;
    }
  }
} 
public class Construction4 {
  public static void main(String []argv) {
    Object o = _();
    o = foo();
    System.out.println(o);
  }
}