summaryrefslogtreecommitdiffstats
path: root/test/CFrontend/2003-08-30-AggregateInitializer.c
blob: 58c77b6aa04f70def23283ad06aaac4768991ff2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// RUN: %llvmgcc -S %s -o /dev/null

struct istruct {
  unsigned char C;
};

struct foo {
  unsigned int I:1;
  struct istruct J;
  unsigned char L[1];
  unsigned int K:1;
};

struct foo F = { 1, { 7 }, { 123 } , 1 };