Skip to content
Snippets Groups Projects
Commit e46e9f82 authored by Mark Mitchell's avatar Mark Mitchell Committed by Mark Mitchell
Browse files

re PR c++/14510 (Lookup error between function name and struct name)

	PR c++/14510
	* decl.c (xref_tag): Disregard non-type declarations when
	looking up a tagged type.

	PR c++/14510
	* g++.dg/lookup/struct2.C: New test.

From-SVN: r79298
parent 4d0c31e6
No related branches found
No related tags found
Loading
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