diff options
author | Daniel Dunbar <daniel@zuster.org> | 2009-05-13 18:54:26 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2009-05-13 18:54:26 +0000 |
commit | ffdb8439d72d6667351e47786cf7ae1d1203c9d2 (patch) | |
tree | 78c92b903368226065c3d6d3074860672b02c140 /clang/test/CodeGen/x86_64-arguments.c | |
parent | 9e26d3708af2b39141a2642f6079eef0fbaecd83 (diff) | |
download | bcm5719-llvm-ffdb8439d72d6667351e47786cf7ae1d1203c9d2.tar.gz bcm5719-llvm-ffdb8439d72d6667351e47786cf7ae1d1203c9d2.zip |
ABI handling: Fix invalid assertion, it is possible for a valid
coercion to be specified which truncates padding bits. It would be
nice to still have the assert, but we don't have any API call for the
unpadding size of a type yet.
llvm-svn: 71695
Diffstat (limited to 'clang/test/CodeGen/x86_64-arguments.c')
-rw-r--r-- | clang/test/CodeGen/x86_64-arguments.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/clang/test/CodeGen/x86_64-arguments.c b/clang/test/CodeGen/x86_64-arguments.c index 2e5debe7cba..b28e064d358 100644 --- a/clang/test/CodeGen/x86_64-arguments.c +++ b/clang/test/CodeGen/x86_64-arguments.c @@ -55,4 +55,10 @@ void f10(struct s10 a0) {} // RUN: grep 'define void @f11(.union.anon. noalias sret .agg.result)' %t && union { long double a; float b; } f11() {} +// RUN: grep 'define i64 @f12_0()' %t && +// RUN: grep 'define void @f12_1(i64)' %t && +struct s12 { int a __attribute__((aligned(16))); }; +struct s12 f12_0(void) {} +void f12_1(struct s12 a0) {} + // RUN: true |