1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
/* { dg-do compile } */ int test(void) { static int a = ((char *)&&l1-(char *)&&l2)-1; l1: l2: return a; } int test2(void) { static int a = ((char *)&&l2-(char *)&&l3)+((char *)&&l1-(char *)&&l2); l1: l2: l3: return a; }