/cp
commitd027442d1709c02ff9ade1428ae971647d2687d4
authorville <ville@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 19 Sep 2015 04:44:01 +0000 (19 04:44 +0000)
committerville <ville@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 19 Sep 2015 04:44:01 +0000 (19 04:44 +0000)
treedb1daefebcd5b20b84cf4046bcb5f43800753de4
parenta8a975337ad12d62805f07e4a3760db45de413c1
/cp
2015-09-18  Ville Voutilainen  <ville.voutilainen@gmail.com>

Implement nested namespace definitions.
* parser.c (cp_parser_namespace_definition): Grok nested namespace
definitions.

/testsuite
2015-09-18  Ville Voutilainen  <ville.voutilainen@gmail.com>

Implement nested namespace definitions.
* g++.dg/cpp1z/nested-namespace-def1.C: New.
* g++.dg/cpp1z/nested-namespace-def2.C: Likewise.
* g++.dg/cpp1z/nested-namespace-def3.C: Likewise.
* g++.dg/lookup/name-clash5.C: Adjust.
* g++.dg/lookup/name-clash6.C: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@227932 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/cp/ChangeLog
gcc/cp/parser.c
gcc/testsuite/ChangeLog
gcc/testsuite/g++.dg/cpp1z/nested-namespace-def1.C [new file with mode: 0644]
gcc/testsuite/g++.dg/cpp1z/nested-namespace-def2.C [new file with mode: 0644]
gcc/testsuite/g++.dg/cpp1z/nested-namespace-def3.C [new file with mode: 0644]
gcc/testsuite/g++.dg/lookup/name-clash5.C
gcc/testsuite/g++.dg/lookup/name-clash6.C