Handle
  foo()->a = 42;



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@43315 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/CodeGen/struct.c b/test/CodeGen/struct.c
index 0091799..4e73cd4 100644
--- a/test/CodeGen/struct.c
+++ b/test/CodeGen/struct.c
@@ -55,3 +55,7 @@
 
 void f2() { NB b; }
 
+extern NB *f3();
+void f4() {
+  f3()->d1 = 42;
+}