aboutsummaryrefslogtreecommitdiffstats
path: root/test/FrontendC/2003-11-19-BitFieldArray.c
blob: 250268a3b859de606db0fbe6e3ee2ec3491e3da5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
// RUN: %llvmgcc -S %s -o - | llvm-as -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];
}