// RUN: %clang_delta --transformation=rename-class --counter=1 %s 2>&1 | %remove_lit_checks | FileCheck %s // RUN: %clang_delta --transformation=rename-class --counter=2 %s 2>&1 | %remove_lit_checks | FileCheck %s -check-prefix=CHECK-SECOND // RUN: %clang_delta --transformation=rename-class --counter=3 %s 2>&1 | %remove_lit_checks | FileCheck %s -check-prefix=CHECK-THIRD namespace NS1 { // CHECK: template struct A; template struct S1; // CHECK-SECOND: template struct A {}; template struct S2 {}; } namespace NS2 { template // CHECK: struct S1 : NS1::A::type, T2> {}; // CHECK-SECOND: struct S1 : NS1::S1::type, T2> {}; // CHECK-THIRD: struct A : NS1::S1::type, T2> {}; struct S1 : NS1::S1::type, T2> {}; } namespace NS1 { // CHECK: template struct A {}; // CHECK-SECOND: template struct S1 {}; template struct S1 {}; }