blob: c031a684f0bcba6eb9bf6129eecf6c5c973c3162 [file] [log] [blame]
package pck;
import static pck.D.foo;
import static pck.C.foo;
class C {
public static <T extends Comparable<S>, S> void foo(T x){}
}
class D {
public static <T extends Comparable<?>> void foo(T x){}
}
class B{
{
foo<error descr="Ambiguous method call: both 'D.foo(Integer)' and 'C.foo(Integer)' match">(1)</error>;
}
}