llvm-for-llvmta/tools/clang/test/clang-rename/TemplateCtor.cpp

11 lines
240 B
C++
Raw Normal View History

2022-04-25 13:02:35 +02:00
class Foo { // CHECK: class Bar {
public:
template <typename T>
Foo(); // CHECK: Bar();
template <typename T>
Foo(Foo &); // CHECK: Bar(Bar &);
};
// RUN: clang-rename -offset=6 -new-name=Bar %s -- | sed 's,//.*,,' | FileCheck %s