call.c
342 KB
-
PR c++/77777 improve location for diagnostic · d72a3672
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
Jonathan Wakely committed