1 // { dg-do compile { target c++17 } }
7 namespace T::U::V { struct Y {}; }
11 A::B::C::T::U::V::Y y;
13 inline namespace D::E {} // { dg-error "cannot be inline" }
15 namespace F::G:: {} // { dg-error "namespace name required" }
17 namespace G __attribute ((visibility ("default"))) ::H {} // { dg-error "cannot have attributes" }
19 namespace H [[deprecated]] ::I {} // { dg-error "cannot have attributes|ignored" }
21 namespace __attribute ((visibility ("default"))) I::J {} // { dg-error "cannot have attributes" }
23 namespace [[deprecated]] J::K {} // { dg-error "cannot have attributes|ignored" }