re PR c/61162 (possibly bad error location with -Wc++-compat)
PR c/61162 * c-parser.c (c_parser_statement_after_labels): Pass the location of the return expression to c_finish_return. * gcc.dg/pr61162.c: Adjust dg-warning. * gcc.dg/pr61162-2.c: New test. From-SVN: r211978
Showing
gcc/testsuite/gcc.dg/pr61162-2.c
0 → 100644
Please
register
or
sign in
to comment