blob: e810d12b9acbf3b97271e8d3a3d20c5ec519cd1a [file] [log] [blame]
Kirill Bobyrev713bdc02016-07-15 10:21:33 +00001// Currently unsupported test.
Kirill Bobyrevee99fd12016-07-15 12:22:38 +00002// RUN: cat %s > %t.cpp
Kirill Bobyrev713bdc02016-07-15 10:21:33 +00003// FIXME: clang-rename should handle conversions from a class type to another
4// type.
5
6class Foo {}; // CHECK: class Bar {};
7
8class Baz { // CHECK: class Bar {
9 operator Foo() const { // CHECK: operator Bar() const {
10 Foo foo; // CHECK: Bar foo;
11 return foo;
12 }
13};