Debian Codegraph @

clang_delta/tests/reduce-class-template-param/partial1.cc

raw symbols SCIP
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<typename T>
7 struct AAA<true, T *>
8 { };
9 template <>
10 struct AAA<false, int> {};
11
12 // CHECK-FIRST: template< typename>
13 // CHECK-FIRST: struct AAA { };
14 // CHECK-FIRST: template<typename T>
15 // CHECK-FIRST: struct AAA< T *>
16 // CHECK-FIRST: { };
17 // CHECK-FIRST: template <>
18 // CHECK-FIRST: struct AAA< int> {};
19
20 // CHECK-SECOND: template<bool >
21 // CHECK-SECOND: struct AAA { };
22 // CHECK-SECOND: template<>
23 // CHECK-SECOND: struct AAA<true>
24 // CHECK-SECOND: { };
25 // CHECK-SECOND: template <>
26 // CHECK-SECOND: struct AAA<false> {};