Skip to content
Snippets Groups Projects
Commit ac5b356d authored by Jason Merrill's avatar Jason Merrill
Browse files

c++: dump alias-declaration scope

An alias can't be declared with a qualified-id in actual code, but in
diagnostics we want to know which scope it belongs to, and I think a
nested-name-specifier is the best way to provide that.

gcc/cp/ChangeLog:

	* error.cc (dump_decl): Check TFF_UNQUALIFIED_NAME.

gcc/testsuite/ChangeLog:

	* g++.dg/cpp0x/alias-decl-1.C: Expect qualified name.
parent a282da22
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