commit | 84dfb56926a911a40140bf52af742a4987cb466d | [log] [tgz] |
---|---|---|
author | Sean Callanan <scallanan@apple.com> | Thu Apr 27 18:10:29 2017 +0000 |
committer | Sean Callanan <scallanan@apple.com> | Thu Apr 27 18:10:29 2017 +0000 |
tree | 8a7de669a71f506ba5a3152298f2774b3d890373 | |
parent | 3ba085563c9ae28a19a60a3c06b28364bf6c2370 [diff] [blame] |
Added an Importer test for in-class member initializers. llvm-svn: 301573
diff --git a/clang/test/Import/in-class-initializer/test.cpp b/clang/test/Import/in-class-initializer/test.cpp new file mode 100644 index 0000000..eaaac2a --- /dev/null +++ b/clang/test/Import/in-class-initializer/test.cpp
@@ -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; +}