aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/pr94188.c
blob: 7a73c1bc071923488fef92ea8af3d0253e47e592 (plain)
1
2
3
4
5
6
7
8
9
10
/* { dg-do compile } */

struct dm_tree_link {
    int list;
    int node;
};
void fn1(void *p)
{
  0 ? ((struct dm_tree_link *)((char *)p - (char *)&((struct dm_tree_link *)0)->list))->node : 0;
}