1 /* { dg-do compile } */
2 /* { dg-require-effective-target label_values } */
3 
4 typedef __UINTPTR_TYPE__ uintptr_t;
5 
test(void)6 int test(void)
7 {
8     static uintptr_t a =  ((char *)&&l1-(char *)&&l2)-1;
9 l1:
10 l2:
11     return a;
12 }
13 
test2(void)14 int test2(void)
15 {
16     static uintptr_t a =  ((char *)&&l2-(char *)&&l3)+((char *)&&l1-(char *)&&l2);
17 l1:
18 l2:
19 l3:
20     return a;
21 }
22