diff options
Diffstat (limited to 'clang-tools-extra/test/clang-rename/VarTest.cpp')
-rw-r--r-- | clang-tools-extra/test/clang-rename/VarTest.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/clang-tools-extra/test/clang-rename/VarTest.cpp b/clang-tools-extra/test/clang-rename/VarTest.cpp index 37b08132c64..91c2f0e614f 100644 --- a/clang-tools-extra/test/clang-rename/VarTest.cpp +++ b/clang-tools-extra/test/clang-rename/VarTest.cpp @@ -1,8 +1,8 @@ -namespace A { int foo; // CHECK: int hector; -} // RUN: cat %s > %t.cpp -// RUN: clang-rename -offset=18 -new-name=hector %t.cpp -i -- +// RUN: clang-rename -offset=150 -new-name=hector %t.cpp -i -- // RUN: sed 's,//.*,,' %t.cpp | FileCheck %s +namespace A { int foo; // CHECK: int hector; +} int foo; // CHECK: int foo; int bar = foo; // CHECK: bar = foo; int baz = A::foo; // CHECK: baz = A::hector; |