re PR c/79983 (Improve enum and struct redefinition diagnostic)
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
Showing
gcc/testsuite/gcc.dg/pr79983.c
0 → 100644
Please
register
or
sign in
to comment