// Merge success
namespaceN1{externint x0;}// Merge multiple namespaces
namespaceN2{externint x;}namespaceN2{externfloat y;}// Merge namespace with conflict
namespaceN3{externdouble z;}namespaceEnclosing{namespaceNested{constint z =4;}}namespaceContainsInline{inlinenamespaceInline{constint z =10;}}namespaceTestAliasName= Enclosing::Nested;// NOTE: There is no warning on this alias.
namespaceAliasWithSameName= Enclosing::Nested;namespaceTestUsingDecls{namespaceA{voidfoo();}namespaceB{using A::foo;// <- a UsingDecl creating a UsingShadow
}}// end namespace TestUsingDecls
namespaceTestUnresolvedTypenameAndValueDecls{template<class T>classBase;template<class T>classDerived:publicBase<T>{public:usingtypename Base<T>::foo;using Base<T>::bar;typedeftypename Derived::foo NewUnresolvedUsingType;};}// end namespace TestUnresolvedTypenameAndValueDecls
namespaceTestUsingNamespace{usingnamespace Enclosing;}