Fix the long double to be of width/align 64. Rename va_list_test to
powerpc_types and add testing for the (long) double there.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@152647 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/CodeGen/powerpc_types.c b/test/CodeGen/powerpc_types.c
new file mode 100644
index 0000000..b7d0f5d
--- /dev/null
+++ b/test/CodeGen/powerpc_types.c
@@ -0,0 +1,10 @@
+// RUN: %clang_cc1 -triple powerpc-unknown-freebsd -emit-llvm -o - %s| FileCheck -check-prefix=SVR4-CHECK %s
+
+#include <stdarg.h>
+
+int va_list_size = sizeof(va_list);
+// SVR4-CHECK: va_list_size = global i32 12, align 4
+int long_double_size = sizeof(long double);
+// SVR4-CHECK: long_double_size = global i32 8, align 4
+int double_size = sizeof(double);
+// SVR4-CHECK: double_size = global i32 8, align 4