[ASTImporter] Added test case for CXXConversionDecl importing

Reviewers: a.sidorin, a_sidorin

Reviewed By: a_sidorin

Subscribers: a_sidorin, martong, cfe-commits

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

llvm-svn: 339505
This commit is contained in:
Raphael Isemann 2018-08-11 23:43:02 +00:00
parent a7f19e5fda
commit 30e0c43c17
2 changed files with 15 additions and 0 deletions

View File

@ -0,0 +1,10 @@
class Y {
int M;
};
class X {
int N, M;
public:
operator Y();
};

View File

@ -0,0 +1,5 @@
// RUN: clang-import-test -import %S/Inputs/F.cpp -expression %s
void expr() {
X X1;
Y Y1 = X1;
}