Debian Codegraph @

framework/tests/all-systems/Issue913.java

raw
1 // Test case for Issue 913
2 // https://github.com/typetools/checker-framework/issues/913
3
4 class Issue913 {
5 void test(Ordering<Object> o) {
6 Multimap<Long> newMap = create(o);
7 }
8
9 static <V> Multimap<V> create(Ordering<? super V> valueComparator) {
10 throw new RuntimeException();
11 }
12
13 interface Multimap<V> {}
14
15 class Ordering<T> {}
16 }