diff options
author | Nathan Sidwell <nathan@acm.org> | 2017-06-20 12:53:11 +0000 |
---|---|---|
committer | Nathan Sidwell <nathan@gcc.gnu.org> | 2017-06-20 12:53:11 +0000 |
commit | 71bbbd133f65c26f65709037401154362210560e (patch) | |
tree | 4d79c576c152bbe5c57dca0fa48467a3aec04c20 /gcc/config.gcc | |
parent | 531f0b3879b09b53d738b5bf84790c49bdd60977 (diff) | |
download | gcc-71bbbd133f65c26f65709037401154362210560e.zip gcc-71bbbd133f65c26f65709037401154362210560e.tar.gz gcc-71bbbd133f65c26f65709037401154362210560e.tar.bz2 |
PR c++/67074 - namespace aliases
PR c++/67074 - namespace aliases
* decl.c (duplicate_decls): Don't error here on mismatched
namespace alias.
* name-lookup.c (name_lookup::add_value): Matching namespaces are
not ambiguous.
(diagnose_name_conflict): Namespaces are never redeclarations.
(update_binding): An alias can match a real namespace.
PR c++/67074
* g++.dg/lookup/pr67074.C: New.
* g++.dg/parse/namespace-alias-1.C: Adjust.
From-SVN: r249408
Diffstat (limited to 'gcc/config.gcc')
0 files changed, 0 insertions, 0 deletions