Segault: initialize invalid-size array of incomplete type
ehaas opened this issue · comments
void foo(void) {
struct bar b[1][B(1)] = {1};
}
This segfaults in findScalarInitializer when trying to iterate over the struct fields. The fields pointer is undefined since it's an incomplete struct.