Fix PR2101 - Codegen crash during bitfield initialization.


git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@50769 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/test/CodeGen/bitfield-init.c b/test/CodeGen/bitfield-init.c
new file mode 100644
index 0000000..6e89e11
--- /dev/null
+++ b/test/CodeGen/bitfield-init.c
@@ -0,0 +1,4 @@
+// RUN: clang %s -emit-llvm 
+typedef struct { unsigned int i: 1; } c;
+const c d = { 1 };
+