blob: 087cb81cff51de1fc80c7252ab565ad89619eaf7 [file] [log] [blame]
Saleem Abdulrasool8357ccf72016-07-27 04:43:15 +00001// RUN: clang-rename -offset=102 -new-name=Bar %s -- | FileCheck %s
Kirill Bobyrevee99fd12016-07-15 12:22:38 +00002
3class Baz {};
4
5class Qux {
6 Baz Foo; // CHECK: Baz Bar;
7public:
8 Qux();
9};
10
11Qux::Qux() : Foo() {} // CHECK: Qux::Qux() : Bar() {}
12
13// Use grep -FUbo 'Foo' <file> to get the correct offset of foo when changing
14// this file.