llvm-project/clang/test/CodeGen/PR4611-bitfield-layout.c

8 lines
219 B
C

// RUN: %clang_cc1 -triple i386-unknown-unknown %s -emit-llvm -o - | FileCheck %s
//
// CHECK: struct.object_entry = type { [4 x i8] }
struct object_entry {
unsigned int type:3, pack_id:16, depth:13;
} entries;