aboutsummaryrefslogtreecommitdiff
path: root/test/clang-rename/ClassFindByName.cpp
blob: 4430891ec4b1e049ed83717474b658048e94d708 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
class Foo {         // CHECK: class Bar {
};

int main() {
  Foo *Pointer = 0; // CHECK: Bar *Pointer = 0;
  return 0;
}

// Test 1.
// RUN: clang-rename -qualified-name=Foo -new-name=Bar %s -- | sed 's,//.*,,' | FileCheck %s