[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:
parent
a7f19e5fda
commit
30e0c43c17
|
@ -0,0 +1,10 @@
|
|||
class Y {
|
||||
int M;
|
||||
};
|
||||
|
||||
class X {
|
||||
int N, M;
|
||||
|
||||
public:
|
||||
operator Y();
|
||||
};
|
|
@ -0,0 +1,5 @@
|
|||
// RUN: clang-import-test -import %S/Inputs/F.cpp -expression %s
|
||||
void expr() {
|
||||
X X1;
|
||||
Y Y1 = X1;
|
||||
}
|
Loading…
Reference in New Issue