1 /* { dg-do compile } */
2 /* { dg-options "-Wshadow -Wsystem-headers" } */
5 extern void index2 (void); /* { dg-message "declaration is here" } */
7 void foo (double index1
,
28 void (*index1
)(void); /* { dg-warning "shadows" } */
29 void (*index2
)(void); /* { dg-warning "shadows" } */
34 void index1(void) {}; /* { dg-warning "shadows" } */
35 void index2(void) {}; /* { dg-warning "shadows" } */
38 /* { dg-message "declaration is here" "" { target *-*-* } 0 } */