Debian Codegraph @

framework/tests/all-systems/Issue2048.java

raw
1 // Test case for Issue #2048:
2 // https://github.com/typetools/checker-framework/issues/2048
3 //
4 // There are two versions:
5 // framework/tests/all-systems
6 // checker/tests/nullness
7
8 class Issue2048 {
9 interface Foo {}
10
11 interface Fooer<R extends Foo> {}
12
13 class Use<T> {
14 @SuppressWarnings("") // Check for crashes.
15 void foo(Fooer<? extends T> fooer) {}
16 }
17 }