PR c++/91868 - improve -Wshadow location.
* name-lookup.c (check_local_shadow): Use DECL_SOURCE_LOCATION instead of input_location. * g++.dg/warn/Wshadow-16.C: New test. From-SVN: r276103
Showing
gcc/testsuite/g++.dg/warn/Wshadow-16.C
0 → 100644
Please
register
or
sign in
to comment