summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/execute/pr19515.c
blob: df0e10721882bf3f223410516f69eccfc4b482eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
/* PR 19515 */

typedef union {
      char a2[8];
}aun;

void abort (void);

int main(void)
{
  aun a = {{0}};

  if (a.a2[2] != 0)
    abort ();
  return 0;
}