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

// XFAIL: linux,sun,darwin
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 };