summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/execute/960326-1.c
blob: f201373702257e14bbc9a57af3e9e37ca341fef8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
struct s
{
  int a;
  int b;
  short c;
  int d[3];
};

struct s s = { .b = 3, .d = {2,0,0} };

main ()
{
  if (s.b != 3)
    abort ();
  exit (0);
}