aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/analyzer/pr94732.c
blob: 1aa154fc7394cd2d76cc5576cf80322211ced781 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
typedef struct { int *a; } S;
int *f (void);
static void g (S *x)
{
  int *p = x->a;
  p[0] = 0;
}
void h (void)
{
  S x[1];
  x->a = f ();
  g (x);
}