aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/gcc/testsuite/gcc.c-torture/compile/pr39360.c
blob: 0bd63114431c387f60ed63c0d3092a0033cb8928 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/* PR middle-end/39360 */

static int a[] = { 1 };

static inline void
bar (int **x)
{
  static int *c[2] = { 0, a };
  *x = c[1];
}

int
foo (int **x)
{
  bar (x);
}