]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/CodeGen/x86_64-arguments-darwin.c
Vendor import of clang RELEASE_360/rc2 tag r227651 (effectively, 3.6.0 RC2):
[FreeBSD/FreeBSD.git] / test / CodeGen / x86_64-arguments-darwin.c
1 // RUN: %clang_cc1 -triple x86_64-apple-darwin -emit-llvm -o - %s| FileCheck %s
2
3 // rdar://9122143
4 // CHECK: declare void @func(i64, double)
5 typedef struct _str {
6   union {
7     long double a;
8     long c;
9   };
10 } str;
11
12 void func(str s);
13 str ss;
14 void f9122143()
15 {
16   func(ss);
17 }