xref: /minix3/external/bsd/llvm/dist/clang/test/CodeGen/2008-07-22-packed-bitfield-access.c (revision 433d6423c39e34ec4b79c950597bb2d236f886be)
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 }
11