Add codegen upport for implicit casts to aggregate exprs.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@45954 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/CodeGen/struct.c b/test/CodeGen/struct.c
index a52e538..8f9ecd6 100644
--- a/test/CodeGen/struct.c
+++ b/test/CodeGen/struct.c
@@ -112,3 +112,18 @@
 
   _Bool j,k;
 } ws;
+
+/* Implicit casts (due to typedefs) */
+typedef struct _a
+{
+  int a;
+} a;
+
+void f11()
+{
+    struct _a a1;
+    a a2;
+    
+    a1 = a2;
+    a2 = a1;
+}