Debian Codegraph @

framework/tests/all-systems/Issue1749.java

raw
1 // Testcase for Issue 1749
2 // https://github.com/typetools/checker-framework/issues/1749
3 abstract class Issue1749 {
4
5 public interface A {}
6
7 interface B extends A {}
8
9 public class I<X> {}
10
11 abstract <Y> I<Y> f(Class<? super Y> x);
12
13 void f() {
14 I<B> x = f(A.class);
15 }
16 }