re PR c/10676 (Using unnamed fields in initializers)
PR c/10676 * c-typeck.c (lookup_field): Take a type directly. Update recursive calls. (build_component_ref): Update call to lookup_field. (set_init_label): Use lookup_field to find initialized field. Handle returned list of fields like a sequence of designators. testsuite: * gcc.dg/anon-struct-10.c: New test. From-SVN: r159206
Showing
gcc/testsuite/gcc.dg/anon-struct-10.c
0 → 100644
Please
register
or
sign in
to comment