1 /* Test diagnostics for label declarations. Test with
3 /* Origin: Joseph Myers <joseph@codesourcery.com> */
4 /* { dg-do compile } */
5 /* { dg-options "-pedantic-errors" } */
13 __extension__ (void)&&d
; /* { dg-error "error: label 'd' used but not defined" } */
14 /* { dg-error "error: ISO C forbids label declarations" "label decls" { target *-*-* } 13 } */
15 goto c
; /* { dg-error "error: label 'c' used but not defined" } */