Kirill Bobyrev | 713bdc0 | 2016-07-15 10:21:33 +0000 | [diff] [blame] | 1 | // Currently unsupported test. |
Kirill Bobyrev | ee99fd1 | 2016-07-15 12:22:38 +0000 | [diff] [blame] | 2 | // RUN: cat %s > %t.cpp |
Kirill Bobyrev | 713bdc0 | 2016-07-15 10:21:33 +0000 | [diff] [blame] | 3 | // FIXME: clang-rename should handle conversions from a class type to another |
| 4 | // type. |
| 5 | |
| 6 | class Foo {}; // CHECK: class Bar {}; |
| 7 | |
| 8 | class Baz { // CHECK: class Bar { |
| 9 | operator Foo() const { // CHECK: operator Bar() const { |
| 10 | Foo foo; // CHECK: Bar foo; |
| 11 | return foo; |
| 12 | } |
| 13 | }; |