blob: 81c7ae424bc3385aa6974bc53373e55d59bd4abb [file] [log] [blame]
// Test case for Issue 478:
// https://github.com/typetools/checker-framework/issues/478
import java.io.Serializable;
import java.util.Comparator;
public class Issue478 {
public static Comparator<Object> allTheSame() {
return (Comparator<Object> & Serializable) (c1, c2) -> 0;
}
}