blob: 9ce29ddabbb81a0445672b5fb1fb96a1e474819c [file] [log] [blame]
package pck;
import java.util.List;
import static pck.C.foo;
import static pck.D.foo;
class C {
static <T> void foo(List<T> x) { }
}
class D {
static <T extends List<?>> String foo(List<T> x) { return null; }
}
class Main {
public static void main(String[] args){
List<List<String>> x = null;
foo(x).toCharArray();
}
}