blob: ae1acdac700c642899e63d1e95ab8d25b52da9de [file] [log] [blame]
// Test case for Issue 369:
// https://github.com/typetools/checker-framework/issues/369
import static java.util.stream.Collectors.toSet;
import java.util.stream.Stream;
public class Issue369 {
static void test(Stream<Integer> stream) {
stream.collect(toSet());
}
}