2 // RUN: mkdir -p %t/fixes
3 // RUN: cat %s > %t.cpp
4 // RUN: clang-rename -offset=254 -new-name=Bar -export-fixes=%t/fixes/clang-rename.yaml %t.cpp --
5 // RUN: clang-apply-replacements %t
6 // RUN: sed 's,//.*,,' %t.cpp | FileCheck %s
8 class Foo
{}; // CHECK: class Bar {};
10 // Use grep -FUbo 'Foo' <file> to get the correct offset of Cla when changing