blob: 5d0ce3396f12cedc21d6c56782dd76da7d56b7a3 [file]
interface I<T extends I<T>> {
T foo();
}
class C {
void baz(I<?> x) {
bar(x.foo(), x);
}
<T> void bar(T x, T y) { }
}