summaryrefslogtreecommitdiff
path: root/clang/test/clang-rename/TemplateCtor.cpp
blob: 9a59194ac3f4d33ce6d162e4ca18e5357c7ac9b1 (plain)
1
2
3
4
5
6
7
8
9
10
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