import java.util.List; public class WildcardForEach { static class Gen> {} void test(List> x) { // This used to cause a crash in // org.checkerframework.framework.flow.CFTreeBuilder#buildAnnotatedType for (Gen a : x) {} } }