A few more cases for aggregate values.



git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@51596 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/CodeGen/struct.c b/test/CodeGen/struct.c
index 1b476f8..a081ef1 100644
--- a/test/CodeGen/struct.c
+++ b/test/CodeGen/struct.c
@@ -145,3 +145,17 @@
 /* flexible array members */
 struct a15 {char a; int b[];} c15;
 int a16(void) {c15.a = 1;}
+
+/* compound literals */
+void f13()
+{
+  a13 x; x = (a13){1,2};
+}
+
+/* va_arg */
+int f14(int i, ...) {
+  __builtin_va_list l;
+  __builtin_va_start(l,i);
+  a13 b = __builtin_va_arg(l, a13);
+  return b.b;
+}