c-decl.c
353 KB
-
re PR c/79983 (Improve enum and struct redefinition diagnostic) · dc949728
PR c/79983 * c-decl.c (start_struct): Use the location of TYPE_STUB_DECL of ref. (start_enum): Use the location of TYPE_STUB_DECL of enumtype. * gcc.dg/pr79983.c: New test. From-SVN: r248927
Marek Polacek committed