1 // RUN: %clang_cc1 %s -std=c89 -triple i386-apple-darwin -emit-llvm -o - | FileCheck %s
2 // Misaligned parameter must be memcpy'd to correctly aligned temporary.
4 struct s
{ int x
; long double y
; };
5 int bar(struct s
*, struct s
*);
6 long double foo(struct s x
, int i
, struct s y
) {
8 // CHECK: %x = alloca %struct.s, align 16
9 // CHECK: %y = alloca %struct.s, align 16