Skip to content
Snippets Groups Projects
Commit a0aedc7a authored by Marek Polacek's avatar Marek Polacek Committed by Marek Polacek
Browse files

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
parent fea3397e
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment