PR c/71552 - Confusing error for incorrect struct initialization
gcc/c/ChangeLog: PR c/71552 * c-typeck.c (output_init_element): Diagnose incompatible types before non-constant initializers. gcc/testsuite/ChangeLog: PR c/71552 * gcc.dg/init-bad-9.c: New test. From-SVN: r237829
Showing
gcc/testsuite/gcc.dg/init-bad-9.c
0 → 100644
Please
register
or
sign in
to comment