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