summaryrefslogtreecommitdiff
path: root/test/FrontendC++/2010-06-22-BitfieldInit.cpp
blob: 1cfe1f9f6fd50fd71a3cae10976be338013cb564 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// RUN: %llvmgxx -g -c %s
struct TEST2
{
  int subid:32;
  int :0;
};

typedef struct _TEST3
{
  TEST2 foo;
  TEST2 foo2;
} TEST3;

TEST3 test =
  {
    {0},
    {0}
  };

int main() { return 0; }