Debian Codegraph @

clang_delta/tests/template-arg-to-int/test4.cc

raw symbols SCIP
1 // RUN: %clang_delta --transformation=template-arg-to-int --counter=1 %s 2>&1 | %remove_lit_checks | FileCheck %s
2
3 template <typename T1> struct pair {
4 typedef T1 first;
5 };
6 struct S1 {
7 void foo() {}
8 };
9 struct S2 {
10 typedef pair<S1>::first type;
11 };
12
13 // CHECK: template <typename T1> struct pair {
14 // CHECK: typedef T1 first;
15 // CHECK: };
16 // CHECK: struct S1 {
17 // CHECK: void foo() {}
18 // CHECK: };
19 // CHECK: struct S2 {
20 // CHECK: typedef pair<int>::first type;
21 // CHECK: };