Eric Christopher | 3883e66 | 2011-07-26 22:17:02 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 %s -emit-llvm -o - |
2 | |||||
3 | struct X { long double b; unsigned char c; double __attribute__((packed)) d; }; | ||||
4 | struct X x = { 3.0L, 5, 3.0 }; | ||||
5 | |||||
6 | |||||
7 | struct S2504 { | ||||
8 | int e:17; | ||||
9 | __attribute__((packed)) unsigned long long int f; | ||||
10 | } ; | ||||
11 | int fails; | ||||
12 | extern struct S2504 s2504; | ||||
13 | void check2504va (int z) { | ||||
14 | struct S2504 arg, *p; | ||||
15 | long long int i = 0; | ||||
16 | arg.f = i; | ||||
17 | } | ||||
18 |