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