Implement DR2061
authorNathan Sidwell <nathan@acm.org>
Fri, 26 May 2017 18:13:53 +0000 (18:13 +0000)
committerNathan Sidwell <nathan@gcc.gnu.org>
Fri, 26 May 2017 18:13:53 +0000 (18:13 +0000)
commit945bf9e13f706bed44ec760ac60693e00c59b146
tree1e04f598dbc5f8f70a5b6c8ed07b67188c211a11
parent3c9feefc8d6372d0e24070b53b40c2a36026e798
Implement DR2061

gcc/
Implement DR2061
* name-lookup.c (push_inline_namespaces): New.
(push_namespace): Look inside inline namespaces.

testsuite/
* g++.dg/cpp0x/dr2061.C: New.
* g++.dg/parse/namespace-alias-1.C: Add more test.

From-SVN: r248521
gcc/cp/ChangeLog
gcc/cp/name-lookup.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp0x/dr2061.C [new file with mode: 0644]
gcc/testsuite/g++.dg/parse/namespace-alias-1.C