diff options
Diffstat (limited to 'clang/test/CodeGen')
-rw-r--r-- | clang/test/CodeGen/align-x68_64.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/clang/test/CodeGen/align-x68_64.c b/clang/test/CodeGen/align-x68_64.c new file mode 100644 index 00000000000..cf128b43433 --- /dev/null +++ b/clang/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 |