xref: /llvm-project/clang/test/CodeGen/2003-11-19-BitFieldArray.c (revision 85e5156598b1bbad0ae41cf4d0d5b845dd655ffd)
1*85e51565SEric Christopher // RUN: %clang_cc1 -emit-llvm %s  -o /dev/null
2*85e51565SEric Christopher 
3*85e51565SEric Christopher struct _GIOChannel {
4*85e51565SEric Christopher   int write_buf;
5*85e51565SEric Christopher   char partial_write_buf[6];
6*85e51565SEric Christopher   int d :1;
7*85e51565SEric Christopher };
8*85e51565SEric Christopher 
g_io_channel_init(struct _GIOChannel * channel)9*85e51565SEric Christopher void g_io_channel_init (struct _GIOChannel *channel) {
10*85e51565SEric Christopher   channel->partial_write_buf[0];
11*85e51565SEric Christopher }
12*85e51565SEric Christopher 
13