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)
5typedef struct _str {
6  union {
7    long double a;
8    long c;
9  };
10} str;
11
12void func(str s);
13str ss;
14void f9122143()
15{
16  func(ss);
17}
18