aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/torture/pr100923.c
blob: 05a6341fea333b5842bf5bbcee65ba8b0cbca6fb (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
/* { dg-do run } */

int a = 1, b, c, *d = &a, *e = &a, f;
void g(int h) {}
void k(int *l)
{
  int ***j;
  if (c)
    {
      *j = &l;
      ***j;
    }
  g(*l);
  *e = f;
  if (*l)
    {
      int i = b / a;
      a = i;
    }
}
int main()
{
  k(d);
  return 0;
}