[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / CodeGen / 2008-07-22-packed-bitfield-access.c
blob652197f3eb54b9c23442b326f8dc24d9edcf9995
1 // RUN: %clang_cc1 %s -emit-llvm -o -
3 int main (void) {
4 struct foo {
5 unsigned a:16;
6 unsigned b:32 __attribute__ ((packed));
7 } x;
8 x.b = 0x56789abcL;
9 return 0;