forked from OSchip/llvm-project
Added an Importer test for in-class member initializers.
llvm-svn: 301573
This commit is contained in:
parent
3ba085563c
commit
84dfb56926
|
@ -0,0 +1,3 @@
|
|||
struct S {
|
||||
int a = 3;
|
||||
};
|
|
@ -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;
|
||||
}
|
Loading…
Reference in New Issue