aboutsummaryrefslogtreecommitdiff
path: root/test/clang-rename/ForceMulti.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/clang-rename/ForceMulti.cpp')
-rw-r--r--test/clang-rename/ForceMulti.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/clang-rename/ForceMulti.cpp b/test/clang-rename/ForceMulti.cpp
new file mode 100644
index 000000000000..41983ce260c8
--- /dev/null
+++ b/test/clang-rename/ForceMulti.cpp
@@ -0,0 +1,8 @@
+class B /* Test 1 */ { // CHECK: class B2 /* Test 1 */ {
+};
+
+class D : public B /* Test 1 */ { // CHECK: class D : public B2 /* Test 1 */ {
+};
+
+// Test 1.
+// RUN: clang-rename -force -qualified-name B -new-name B2 -qualified-name E -new-name E2 %s -- | sed 's,//.*,,' | FileCheck %s