Correct a  thinko in bitfield layout code. Fixes PR4611.
llvm-svn: 76898
diff --git a/clang/test/CodeGen/PR4611-bitfield-layout.c b/clang/test/CodeGen/PR4611-bitfield-layout.c
new file mode 100644
index 0000000..ef698d5
--- /dev/null
+++ b/clang/test/CodeGen/PR4611-bitfield-layout.c
@@ -0,0 +1,6 @@
+// RUN: clang-cc -triple i386-unknown-unknown %s -emit-llvm -o %t &&
+// RUN: grep "struct.object_entry = type <{ i8, i8, i8, i8 }>" %t
+
+struct object_entry {
+       unsigned int type:3, pack_id:16, depth:13;
+} entries;