Debian Codegraph @

clang_delta/tests/rename-class/typedef2.cc

raw symbols SCIP
1 // RUN: %clang_delta --transformation=rename-class --counter=1 %s 2>&1 | %remove_lit_checks | FileCheck %s
2 // RUN: %clang_delta --transformation=rename-class --counter=2 %s 2>&1 | %remove_lit_checks | FileCheck %s -check-prefix=CHECK-SECOND
3
4 namespace NS {
5 // CHECK: template<bool C> struct A;
6 template<bool C> struct S1;
7 // CHECK: typedef A<false> S1_t;
8 typedef S1<false> S1_t;
9
10 // CHECK: template<bool C> struct A {
11 template<bool C> struct S1 {
12 // CHECK: typedef A type;
13 typedef S1 type;
14 };
15 }
16
17 // CHECK-SECOND: struct A : NS::S1_t {};
18 struct S2 : NS::S1_t {};