blob: 5eea4a60a5068adc38b9d602f56a44f3e3b0bc07 [file] [log] [blame]
// RUN: cat %s > %t.cpp
// RUN: clang-rename -offset=143 -new-name=llvm %t.cpp -i --
// RUN: sed 's,//.*,,' %t.cpp | FileCheck %s
namespace foo { // CHECK: namespace llvm {
int x;
}
void boo() {
foo::x = 42; // CHECK: llvm::x = 42;
}
// Use grep -FUbo 'foo;' <file> to get the correct offset of foo when changing
// this file.