blob: 32208aed70bb2c5282c9cf7d6982529868af3500 [file] [log] [blame]
// Test case for Issue 1991:
// https://github.com/typetools/checker-framework/issues/1991
@SuppressWarnings("all") // Check for crashes only
public class Issue1991 {
interface Comp<T extends Comp<T>> {}
interface C<X extends Comp<? super X>> {}
class D implements Comp<D> {}
void f(C<D> p) {
C<?> x = p;
}
}