blob: c1b65d94e88738fdf28fcf3c8886650d840317cd [file] [log] [blame]
// Test case for Issue 2480:
// https://github.com/typetools/checker-framework/issues/2480
import java.util.List;
@SuppressWarnings({"unchecked", "all"}) // check for crashes only
abstract class Issue2480 {
void testCase() {
for (Class<?> wrapperType : of(Character.class, Boolean.class)) {}
}
abstract <E> List<E> of(E... e1);
}