PR c++/77777 improve location for diagnostic
Pass in the location of the invalid expression, not the next input location (which might be a comma or closing parenthesis on a different line). gcc/cp: PR c++/77777 * call.c (resolve_args): Use location of expression, not current input location. gcc/testsuite: PR c++/77777 * g++.dg/diagnostic/pr77777.C: New test. From-SVN: r260979
Showing
gcc/testsuite/g++.dg/diagnostic/pr77777.C
0 → 100644
Please
register
or
sign in
to comment