aboutsummaryrefslogtreecommitdiffstats
path: root/tests/features169/itdInnerTypes/Construction4.java
blob: 7505be1e72db4a32282b729ebf5192469f6aff9c (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);
  }
}