freebsd-dev/test/CodeGen/PR4611-bitfield-layout.c

7 lines
220 B
C
Raw Normal View History

2010-01-01 10:34:51 +00:00
// RUN: %clang_cc1 -triple i386-unknown-unknown %s -emit-llvm -o %t
2009-10-14 18:03:49 +00:00
// RUN: grep "struct.object_entry = type { i8, \[2 x i8\], i8 }" %t
struct object_entry {
unsigned int type:3, pack_id:16, depth:13;
} entries;