Check first member alignment and uses packed struct if required.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@51619 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/CodeGen/struct.c b/test/CodeGen/struct.c
index 4c88c25..f17a7af 100644
--- a/test/CodeGen/struct.c
+++ b/test/CodeGen/struct.c
@@ -160,3 +160,6 @@
   a13 b = __builtin_va_arg(l, a13);
   return b.b;
 }
+
+/* Attribute packed */
+struct __attribute__((packed)) S2839 { double a[19];  signed char b; } s2839[5];