// RUN: %clang_delta --transformation=remove-namespace --counter=1 %s 2>&1 | %remove_lit_checks | FileCheck %s namespace NS1 { template struct Base {}; template struct Derived: public Base { typename Derived::template Base* p1; }; } template struct Base {}; template struct Derived: public Base { typename Derived::template Base* p1; }; // CHECK-NOT: namespace NS1 { // CHECK: template struct [[BASE:[a-zA-Z_]+NS1_Base]] {}; // CHECK: template struct [[DERIVED:[a-zA-Z_]+NS1_Derived]]: public [[BASE]] { // CHECK: typename [[DERIVED]]::template [[BASE]]* p1; // CHECK: }; // CHECK-NOT: } // CHECK: template struct Base {}; // CHECK: template struct Derived: public Base { // CHECK: typename Derived::template [[BASE]]* p1; // CHECK: };