re PR c++/14821 (Duplicate namespace alias declaration should not conflict)
authorMark Mitchell <mark@codesourcery.com>
Sun, 23 May 2004 17:56:26 +0000 (17:56 +0000)
committerMark Mitchell <mmitchel@gcc.gnu.org>
Sun, 23 May 2004 17:56:26 +0000 (17:56 +0000)
commitf746161e4ffa1427f1b2c7b08fafaad3046a9222
tree939b992140fb6e653d3be72640963ab2c43bbe46
parent3972995b195de4ecd0055f63351987a128546208
re PR c++/14821 (Duplicate namespace alias declaration should not conflict)

PR c++/14821
* name-lookup.c (supplement_binding): Allow redefinitions of
namespace aliases.

PR c++/14883
* parser.c (cp_parser_template_argument): Robustify.

PR c++/14821
* g++.dg/other/ns1.C: New test.

PR c++/14883
* g++.dg/template/invalid1.C: New test.

From-SVN: r82170
gcc/cp/ChangeLog
gcc/cp/name-lookup.c
gcc/cp/parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/other/ns1.C [new file with mode: 0644]
gcc/testsuite/g++.dg/template/invalid1.C [new file with mode: 0644]