| 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 | } |
| 18 |