Debian Codegraph @

framework/tests/all-systems/Issue478.java

raw
1 // Test case for Issue 478:
2 // https://github.com/typetools/checker-framework/issues/478
3
4 import java.io.Serializable;
5 import java.util.Comparator;
6
7 class Issue478 {
8 public static Comparator<Object> allTheSame() {
9 return (Comparator<Object> & Serializable) (c1, c2) -> 0;
10 }
11 }