summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/pr50565-2.c
blob: 2d30e88021fefcc0dda93026b8a992830abae86f (plain)
1
2
3
4
struct s { char p[2]; };
static struct s v;
const int o0 = (int) ((void *) &v.p[0] - (void *) &v) + 0;
const int o1 = (int) ((void *) &v.p[0] - (void *) &v) + 1;