| 1 | // RUN: %clang_delta --transformation=remove-unused-function --counter=1 %s 2>&1 | %remove_lit_checks | FileCheck %s -check-prefix=CHECK-FIRST |
| 2 | // RUN: %clang_delta --transformation=remove-unused-function --counter=2 %s 2>&1 | %remove_lit_checks | FileCheck %s -check-prefix=CHECK-SECOND |
| 3 | |
| 4 | struct S1 { |
| 5 | S1() = default; |
| 6 | }; |
| 7 | // CHECK-FIRST: struct S1 { |
| 8 | // CHECK-FIRST: {{^ *$}} |
| 9 | // CHECK-FIRST: }; |
| 10 | |
| 11 | template <typename T> |
| 12 | struct S2 { |
| 13 | S2() = default; |
| 14 | }; |
| 15 | // CHECK-SECOND: struct S2 { |
| 16 | // CHECK-SECOND: {{^ *$}} |
| 17 | // CHECK-SECOND: }; |