summaryrefslogtreecommitdiff
path: root/test/CodeGen/PR4611-bitfield-layout.c
blob: 4f9abea09d7e339d3b4b84d9de967f40811b845f (plain)
1
2
3
4
5
6
7
// RUN: %clang_cc1 -triple i386-unknown-unknown %s -emit-llvm -o - | FileCheck %s
//
// CHECK: struct.object_entry = type { i32 }

struct object_entry {
       unsigned int type:3, pack_id:16, depth:13;
} entries;