re PR c++/33486 (namespace association doesn't handle parallel namespaces)
authorJason Merrill <jason@redhat.com>
Mon, 25 Feb 2008 06:26:24 +0000 (01:26 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Mon, 25 Feb 2008 06:26:24 +0000 (01:26 -0500)
commit4cfaec1cefa9e393cceb88fa818c7c2530e75289
treeb3e9a71438b63c4eab718359b3976d6d06ff3474
parentc9be0915bde2e7c447889dc651ee561e1d742ee1
re PR c++/33486 (namespace association doesn't handle parallel namespaces)

        * gcc/cp/parser.c (cp_parser_declaration): Handle 'inline namespace'.
        (cp_parser_namespace_definition): Likewise.

        PR c++/33486
        * gcc/cp/name-lookup.c (arg_assoc_namespace): Look down into inline
        namespaces, too.

        * libstdc++-v3/include/bits/c++config: Use 'inline namespace'
        instead of strong using.

From-SVN: r132611
gcc/cp/ChangeLog
gcc/cp/name-lookup.c
gcc/cp/parser.c
gcc/testsuite/g++.dg/lookup/strong-using-1.C
gcc/testsuite/g++.dg/lookup/strong-using-2.C
gcc/testsuite/g++.dg/lookup/strong-using-3.C
gcc/testsuite/g++.dg/lookup/strong-using-5.C [new file with mode: 0644]
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/c++config