1 /* Test diagnostics for addresses of labels and computed gotos. Test
2 with no special options. */
3 /* Origin: Joseph Myers <joseph@codesourcery.com> */
4 /* { dg-do compile } */
5 /* { dg-options "" } */
6
7 void
f(void)8 f (void)
9 {
10 void *p = &&a;
11 goto *p;
12 a: ;
13 }
14