summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/init-1.c
blob: 38db9ad87d9969e0d9b993ff372e0afc6d6fb663 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
typedef struct
{
  char *key;
  char *value;
} T1;

typedef struct
{
  long type;
  char *value;
} T3;

T1 a[] =
{
  {
    "",
    ((char *)&((T3) {1, (char *) 1}))
  }
};