summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/pr42730.c
blob: 89aaafe870a6c123e60efe4df3ced45878fbdb8d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
union bzz
{
  unsigned *pa;
  void *pv;
};

void foo (void)
{
  union bzz u;
  void **x;
  void *y = 0;
  x = &u.pv;
  *x = y;
}