aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.c-torture/compile/pr64067.c
blob: 24ad996efdbb0ec3560543155b6c5c5df5acf7fc (plain)
1
2
3
4
5
6
7
8
9
10
/* PR middle-end/64067 */

struct S { int s; };
int *const v[1] = { &((struct S) { .s = 42 }).s };

int *
foo (void)
{
  return v[0];
}