New testcase for PR141
authorChris Lattner <sabre@nondot.org>
Thu, 20 Nov 2003 19:05:21 +0000 (19:05 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 20 Nov 2003 19:05:21 +0000 (19:05 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10112 91177308-0d34-0410-b5e6-96231b3b80d8

test/CFrontend/2003-11-20-Bitfields.c [new file with mode: 0644]

diff --git a/test/CFrontend/2003-11-20-Bitfields.c b/test/CFrontend/2003-11-20-Bitfields.c
new file mode 100644 (file)
index 0000000..7fb3df5
--- /dev/null
@@ -0,0 +1,10 @@
+struct face_cachel {
+  unsigned int reverse :1;
+  unsigned char font_specified[1];
+};
+
+void
+ensure_face_cachel_contains_charset (struct face_cachel *cachel) {
+  cachel->font_specified[0] = 0;
+}
+