Commit 2016c841 by Nathan Sidwell Committed by Nathan Sidwell

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

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

From-SVN: r248075
parent 6ce6a84a
2017-05-15 Nathan Sidwell <nathan@acm.org> 2017-05-15 Nathan Sidwell <nathan@acm.org>
PR c++/79369 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/pr65558.C: Adjust diagnostic location.
* g++.dg/cpp0x/pr79369.C: New. * g++.dg/cpp0x/pr79369.C: New.
......
...@@ -11,7 +11,7 @@ A::B::C::T::U::V::Y y; ...@@ -11,7 +11,7 @@ A::B::C::T::U::V::Y y;
inline namespace D::E {} // { dg-error "cannot be inline" } 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" } namespace G __attribute ((visibility ("default"))) ::H {} // { dg-error "cannot have attributes" }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment