anon-struct-10.c
630 Bytes
-
re PR c/10676 (Using unnamed fields in initializers) · 0fb96aa4
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
Joseph Myers committed