freebsd-nq/test/CodeGen/2008-07-22-packed-bitfield-access.c

11 lines
173 B
C
Raw Normal View History

2010-01-01 10:34:51 +00:00
// RUN: %clang_cc1 %s -emit-llvm -o -
2009-06-02 17:58:47 +00:00
int main () {
struct foo {
unsigned a:16;
unsigned b:32 __attribute__ ((packed));
} x;
x.b = 0x56789abcL;
return 0;
}