]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/CodeGen/2008-07-22-packed-bitfield-access.c
Vendor import of clang RELEASE_360/rc2 tag r227651 (effectively, 3.6.0 RC2):
[FreeBSD/FreeBSD.git] / test / CodeGen / 2008-07-22-packed-bitfield-access.c
1 // RUN: %clang_cc1 %s -emit-llvm -o -
2
3 int main () {
4   struct foo {
5     unsigned a:16;
6     unsigned b:32 __attribute__ ((packed));
7   } x;
8   x.b = 0x56789abcL;
9   return 0;
10 }