c-parse.in (stmts_and_decls): Make label at end of compound statement a hard error.
* c-parse.in (stmts_and_decls): Make label at end of compound statement a hard error. testsuite: * gcc.dg/label-compound-stmt-1.c: New test. * gcc.c-torture/compile/950922-1.c, gcc.c-torture/compile/20000211-3.c, gcc.c-torture/compile/20000518-1.c, gcc.c-torture/compile/20021108-1.c: Avoid labels at and of compound statements. From-SVN: r75891
Showing
gcc/testsuite/gcc.dg/label-compound-stmt-1.c
0 → 100644
Please
register
or
sign in
to comment