summaryrefslogtreecommitdiff
path: root/test/FrontendC/misaligned-param.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/FrontendC/misaligned-param.c')
-rw-r--r--test/FrontendC/misaligned-param.c15
1 files changed, 0 insertions, 15 deletions
diff --git a/test/FrontendC/misaligned-param.c b/test/FrontendC/misaligned-param.c
deleted file mode 100644
index b4fcfe312f..0000000000
--- a/test/FrontendC/misaligned-param.c
+++ /dev/null
@@ -1,15 +0,0 @@
-// RUN: %llvmgcc %s -m32 -S -o - | FileCheck %s
-// Misaligned parameter must be memcpy'd to correctly aligned temporary.
-// XFAIL: *
-// XTARGET: i386-apple-darwin,i686-apple-darwin,x86_64-apple-darwin
-
-struct s { int x; long double y; };
-long double foo(struct s x, int i, struct s y) {
-// CHECK: foo
-// CHECK: %x_addr = alloca %struct.s, align 16
-// CHECK: %y_addr = alloca %struct.s, align 16
-// CHECK: memcpy
-// CHECK: memcpy
-// CHECK: bar
- return bar(&x, &y);
-}