summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/test/clang-rename/FieldTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang-tools-extra/test/clang-rename/FieldTest.cpp')
-rw-r--r--clang-tools-extra/test/clang-rename/FieldTest.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/clang-tools-extra/test/clang-rename/FieldTest.cpp b/clang-tools-extra/test/clang-rename/FieldTest.cpp
index 6077841ba04..89c34d190f2 100644
--- a/clang-tools-extra/test/clang-rename/FieldTest.cpp
+++ b/clang-tools-extra/test/clang-rename/FieldTest.cpp
@@ -1,12 +1,12 @@
+// RUN: cat %s > %t.cpp
+// RUN: clang-rename -offset=150 -new-name=hector %t.cpp -i --
+// RUN: sed 's,//.*,,' %t.cpp | FileCheck %s
class Cla
{
int foo; // CHECK: hector;
public:
Cla();
};
-// RUN: cat %s > %t.cpp
-// RUN: clang-rename -offset=18 -new-name=hector %t.cpp -i --
-// RUN: sed 's,//.*,,' %t.cpp | FileCheck %s
Cla::Cla()
: foo(0) // CHECK: hector(0)
OpenPOWER on IntegriCloud