llvm-project/clang/test/CodeGen/2003-11-19-BitFieldArray.c

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
222 B
C
Raw Normal View History

// RUN: %clang_cc1 -emit-llvm %s -o /dev/null
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];
}