aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.c-torture/execute/pr49768.c
blob: 85bc9d2a06f2f4eeb0a2c554db4f0800cbebc448 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/* PR tree-optimization/49768 */

extern void abort (void);

int
main ()
{
  static struct { unsigned int : 1; unsigned int s : 1; } s = { .s = 1 };
  if (s.s != 1)
    abort ();
  return 0;
}