Debian Codegraph @

clang_delta/tests/replace-class-with-base-template-spec/macro.cc

raw symbols SCIP
1 // RUN: %clang_delta --transformation=replace-class-with-base-template-spec --counter=1 %s 2>&1 | %remove_lit_checks | FileCheck %s
2
3 // CHECK: template <typename T>
4 template <typename T>
5 // CHECK: struct S {};
6 struct S {};
7
8 // CHECK: #define DEF(NAME) template <class T> struct NAME {}
9 #define DEF(NAME) template <class T> struct NAME : S<int> {}
10 // CHECK: DEF(MyStruct);
11 DEF(MyStruct);