diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2011-05-02 19:39:53 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2011-05-02 19:39:53 +0000 |
commit | 01af97d3b23bded2b2b21af19bbc6e4cce49e5b3 (patch) | |
tree | 64a10f4c4154739d4a8191d7e1b52ce497f4ebd6 /test/CodeGen/x86_64-arguments-darwin.c | |
parent | c3b054d250cdca485c71845089c316e10610ebad (diff) |
Diffstat (limited to 'test/CodeGen/x86_64-arguments-darwin.c')
-rw-r--r-- | test/CodeGen/x86_64-arguments-darwin.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/test/CodeGen/x86_64-arguments-darwin.c b/test/CodeGen/x86_64-arguments-darwin.c new file mode 100644 index 0000000000000..2f804e6efc03b --- /dev/null +++ b/test/CodeGen/x86_64-arguments-darwin.c @@ -0,0 +1,17 @@ +// RUN: %clang_cc1 -triple x86_64-apple-darwin -emit-llvm -o - %s| FileCheck %s + +// rdar://9122143 +// CHECK: declare void @func(i64, double) +typedef struct _str { + union { + long double a; + long c; + }; +} str; + +void func(str s); +str ss; +void f9122143() +{ + func(ss); +} |