summaryrefslogtreecommitdiff
path: root/test/CodeGen/2003-08-30-AggregateInitializer.c
blob: 5beb14e5f8f029096299e0f45da276b469d273f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// RUN: %clang_cc1 -emit-llvm %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 };