[clang-rename] add few tests

Thiis patch introduces few additional tests including one case the tool does not handle yet, which should be fixed in the future.

Differential Revision: https://reviews.llvm.org/D22102

llvm-svn: 275545
diff --git a/clang-tools-extra/test/clang-rename/UserDefinedConversion.cpp b/clang-tools-extra/test/clang-rename/UserDefinedConversion.cpp
new file mode 100644
index 0000000..9e5899c
--- /dev/null
+++ b/clang-tools-extra/test/clang-rename/UserDefinedConversion.cpp
@@ -0,0 +1,12 @@
+// Currently unsupported test.
+// FIXME: clang-rename should handle conversions from a class type to another
+// type.
+
+class Foo {};             // CHECK: class Bar {};
+
+class Baz {               // CHECK: class Bar {
+  operator Foo() const {  // CHECK: operator Bar() const {
+    Foo foo;              // CHECK: Bar foo;
+    return foo;
+  }
+};