// RUN: %clang_delta --transformation=remove-unused-function --counter=1 %s 2>&1 | %remove_lit_checks | FileCheck %s // RUN: %clang_delta --transformation=remove-unused-function --counter=2 %s 2>&1 | %remove_lit_checks | FileCheck %s -check-prefix=CHECK-SECOND // CHECK: {{^;}} // CHECK-SECOND: template void foo(T *); template void foo(T *); // CHECK: template struct S { // CHECK-SECOND: template struct S { template struct S { // CHECK: template friend void foo(T1 *); // CHECK-SECOND: {{ *}}; template friend void foo(T1 *); // CHECK: }; // CHECK-SECOND: }; };