diff options
Diffstat (limited to 'test/CodeGen/align-x68_64.c')
-rw-r--r-- | test/CodeGen/align-x68_64.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/test/CodeGen/align-x68_64.c b/test/CodeGen/align-x68_64.c new file mode 100644 index 0000000..cf128b4 --- /dev/null +++ b/test/CodeGen/align-x68_64.c @@ -0,0 +1,11 @@ +// RUN: %clang_cc1 -triple x86_64-unknown-linux-gnu -emit-llvm %s -o - | FileCheck %s +// PR5599 + +void test1_f(void *); + +void test1_g(void) { + float x[4]; + test1_f(x); +} +// CHECK: @test1_g +// CHECK: alloca [4 x float], align 16 |