bolt/deps/llvm-18.1.8/clang/test/clang-rename/TemplateCtor.cpp

11 lines
240 B
C++
Raw Normal View History

2025-02-14 19:21:04 +01: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