From: Nathan Sidwell Date: Mon, 15 May 2017 20:26:19 +0000 (+0000) Subject: re PR c++/79369 (namespace definition with qualified id) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2016c841ebc470eea52b8460715eae9949bcb7f1;p=gcc.git re PR c++/79369 (namespace definition with qualified id) PR c++/79369 * g++.dg/cpp1z/nested-namespace-def1.C: Adjust. From-SVN: r248075 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 65fe9e336bd..a8985227a2f 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,8 @@ 2017-05-15 Nathan Sidwell + 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. diff --git a/gcc/testsuite/g++.dg/cpp1z/nested-namespace-def1.C b/gcc/testsuite/g++.dg/cpp1z/nested-namespace-def1.C index 39801742d09..680b907c72d 100644 --- a/gcc/testsuite/g++.dg/cpp1z/nested-namespace-def1.C +++ b/gcc/testsuite/g++.dg/cpp1z/nested-namespace-def1.C @@ -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" }