[llvm-commits] CVS: llvm/test/Regression/CFrontend/2003-11-19-BitFieldArray.c
Chris Lattner
lattner at cs.uiuc.edu
Wed Nov 19 18:34:01 PST 2003
Changes in directory llvm/test/Regression/CFrontend:
2003-11-19-BitFieldArray.c added (r1.1)
---
Log message:
Testcase for PR113
---
Diffs of the changes: (+10 -0)
Index: llvm/test/Regression/CFrontend/2003-11-19-BitFieldArray.c
diff -c /dev/null llvm/test/Regression/CFrontend/2003-11-19-BitFieldArray.c:1.1
*** /dev/null Wed Nov 19 18:33:07 2003
--- llvm/test/Regression/CFrontend/2003-11-19-BitFieldArray.c Wed Nov 19 18:32:57 2003
***************
*** 0 ****
--- 1,10 ----
+ struct _GIOChannel {
+ int write_buf;
+ char partial_write_buf[6];
+ int d :1;
+ };
+
+ void g_io_channel_init (struct _GIOChannel *channel) {
+ channel->partial_write_buf[0];
+ }
+
More information about the llvm-commits
mailing list