blob: 71efbc8351701af9e0d5a159b0dc23ef60615427 [file] [log] [blame]
// Testcase for Issue 1749
// https://github.com/typetools/checker-framework/issues/1749
abstract class Issue1749 {
public interface A {}
interface B extends A {}
public class I<X> {}
abstract <Y> I<Y> f(Class<? super Y> x);
void f() {
I<B> x = f(A.class);
}
}