summaryrefslogtreecommitdiff
path: root/clang/test/CodeGen/PR4611-bitfield-layout.c
blob: 3975ed0c138a6ccd49f8c8fe966893a1136b99e5 (about) (plain)
1
2
3
4
5
6
// RUN: %clang_cc1 -triple i386-unknown-unknown %s -emit-llvm -o %t
// 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;