Added an Importer test for in-class member initializers.

llvm-svn: 301573
This commit is contained in:
Sean Callanan 2017-04-27 18:10:29 +00:00
parent 3ba085563c
commit 84dfb56926
2 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1,3 @@
struct S {
int a = 3;
};

View File

@ -0,0 +1,5 @@
// RUN: clang-import-test -import %S/Inputs/S.cpp -expression %s
void expr() {
S MyS;
int b = MyS.a + MyS.a;
}