OSDN Git Service

Fix context handling of alias-declaration
authordodji <dodji@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 8 Nov 2011 10:27:34 +0000 (10:27 +0000)
committerdodji <dodji@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 8 Nov 2011 10:27:34 +0000 (10:27 +0000)
gcc/cp/

* decl.c (start_decl): Update comment.
* error.c (dump_alias_template_specialization): Dump the context
of the specialization.
* parser.c (cp_parser_alias_declaration): Call pop_scope on the
pushed scope yielded by start_decl.

gcc/testsuite

* g++.dg/cpp0x/alias-decl-11.C: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181152 138bc75d-0d04-0410-961f-82ee72b054a4


No differences found