summaryrefslogtreecommitdiffstats
path: root/clang/test/Import/member-in-struct/test.c
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Import/member-in-struct/test.c')
-rw-r--r--clang/test/Import/member-in-struct/test.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/clang/test/Import/member-in-struct/test.c b/clang/test/Import/member-in-struct/test.c
new file mode 100644
index 00000000000..bde2b60d275
--- /dev/null
+++ b/clang/test/Import/member-in-struct/test.c
@@ -0,0 +1,5 @@
+// RUN: clang-import-test -import %S/Inputs/S.c -expression %s
+void expr() {
+ struct S MyS;
+ MyS.a = 3;
+}
OpenPOWER on IntegriCloud