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