1 2 3 4 5 6 7 8 9 10 11 12
public class Pos05 { static class Foo<X> { Foo(X x) {} } void m(Foo<Integer> fi) {} void test() { m(new Foo<>(1)); } }