| 1 | // RUN: %clang_delta --transformation=reduce-class-template-param --counter=1 %s 2>&1 | %remove_lit_checks | FileCheck %s -check-prefix=CHECK-FIRST |
| 2 | // RUN: %clang_delta --transformation=reduce-class-template-param --counter=2 %s 2>&1 | %remove_lit_checks | FileCheck %s -check-prefix=CHECK-SECOND |
| 3 | |
| 4 | template<bool , typename> |
| 5 | struct AAA { }; |
| 6 | template <> |
| 7 | struct AAA<true , int > {}; |
| 8 | |
| 9 | // CHECK-FIRST: template< typename> |
| 10 | // CHECK-FIRST: struct AAA { }; |
| 11 | // CHECK-FIRST: template <> |
| 12 | // CHECK-FIRST: struct AAA< int > {}; |
| 13 | |
| 14 | // CHECK-SECOND: template<bool > |
| 15 | // CHECK-SECOND: struct AAA { }; |
| 16 | // CHECK-SECOND: template <> |
| 17 | // CHECK-SECOND: struct AAA<true > {}; |
| 18 |