re PR c/2820 (unnamed union inside unnamed struct changes rest of the struct)
PR c/2820 * c-typeck.c (lookup_field): Rework to return a chain down to the looked-up field. (build_component_ref): Use the new lookup_field to handle nested anonymous entities correctly. * testsuite/gcc.c-torture/execute/anon-1.c: New test. From-SVN: r46774
Showing
gcc/testsuite/gcc.c-torture/execute/anon-1.c
0 → 100644
Please
register
or
sign in
to comment