https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77502

--- Comment #1 from petschy at gmail dot com ---
I found another case: initializing an array of structs:

struct X
{
        const char* p;
        int i;
};

X x[] = {
        { "hello", 0 },
        { 0, 0 }, // !
        { 0, 0 }, // !
        { 0, 0 }  // !
}; // all 3 errors marked here

Reply via email to