aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/x86_32-arguments.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/x86_32-arguments.c')
-rw-r--r--test/CodeGen/x86_32-arguments.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/CodeGen/x86_32-arguments.c b/test/CodeGen/x86_32-arguments.c
index 42eeb434c3..01c3e236f3 100644
--- a/test/CodeGen/x86_32-arguments.c
+++ b/test/CodeGen/x86_32-arguments.c
@@ -202,3 +202,15 @@ void f50(struct s50 a0) { }
struct s51 { vvbp f0; int f1; };
void f51(struct s51 a0) { }
+// CHECK: define void @f52(%struct.s52* byval align 16 %x)
+struct s52 {
+ long double a;
+};
+void f52(struct s52 x) {}
+
+// CHECK: define void @f53(%struct.s53* byval align 32 %x)
+struct __attribute__((aligned(32))) s53 {
+ int x;
+ int y;
+};
+void f53(struct s53 x) {}