summaryrefslogtreecommitdiff
path: root/support/regression/tests/gcc-torture-execute-pr87053.c
blob: ed07c080daf4d32e54e7116636c2041afe8e85ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
/*
   pr87053.c from the execute part of the gcc torture tests.
 */

#include <testfwk.h>

#include <string.h>

/* PR middle-end/87053 */

#if 0
const union
{ struct {
    char x[4];
    char y[4];
  };
  struct {
    char z[8];
  };
} u = {{"1234", "567"}};
#endif

void
testTortureExecute (void)
{
#if 0 // Bug
  if (strlen (u.z) != 7)
    ASSERT (0);
#endif
}