summaryrefslogtreecommitdiffstats
path: root/tests/java5/generics/itds/sharing/CtorD.aj
blob: 8931c1f8f1bc54f21525d8bc5412f9f19e8cf290 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import java.util.*;

public class CtorD {
  public static void main(String []argv) {
    Base b = new Base(new HashMap<Double,String>());
  }
}

class Base<N extends Number,S> { 
}

aspect X {
  public Base<A,B>.new(Map<A,B> mabs) { this(); };  // ok multiple
}