re PR c++/79369 (namespace definition with qualified id)

PR c++/79369
	* g++.dg/cpp1z/nested-namespace-def1.C: Adjust.

From-SVN: r248075
This commit is contained in:
Nathan Sidwell 2017-05-15 20:26:19 +00:00 committed by Nathan Sidwell
parent 6ce6a84ac6
commit 2016c841eb
2 changed files with 4 additions and 1 deletions

View file

@ -1,5 +1,8 @@
2017-05-15 Nathan Sidwell <nathan@acm.org>
PR c++/79369
* g++.dg/cpp1z/nested-namespace-def1.C: Adjust.
PR c++/79369
* g++.dg/cpp0x/pr65558.C: Adjust diagnostic location.
* g++.dg/cpp0x/pr79369.C: New.

View file

@ -11,7 +11,7 @@ A::B::C::T::U::V::Y y;
inline namespace D::E {} // { dg-error "cannot be inline" }
namespace F::G:: {} // { dg-error "nested identifier required" }
namespace F::G:: {} // { dg-error "namespace name required" }
namespace G __attribute ((visibility ("default"))) ::H {} // { dg-error "cannot have attributes" }