6 // Merge multiple namespaces
14 // Merge namespace with conflict
25 namespace ContainsInline
{
26 inline namespace Inline
{
31 namespace TestAliasName
= Enclosing::Nested
;
32 // NOTE: There is no warning on this alias.
33 namespace AliasWithSameName
= Enclosing::Nested
;
35 namespace TestUsingDecls
{
41 using A::foo
; // <- a UsingDecl creating a UsingShadow
44 }// end namespace TestUsingDecls
46 namespace TestUnresolvedTypenameAndValueDecls
{
48 template <class T
> class Base
;
49 template <class T
> class Derived
: public Base
<T
> {
51 using typename Base
<T
>::foo
;
53 typedef typename
Derived::foo NewUnresolvedUsingType
;
56 } // end namespace TestUnresolvedTypenameAndValueDecls
58 namespace TestUsingNamespace
{
59 using namespace Enclosing
;