Handle non LValue base expressions.


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