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