Use move-aware auto_vec in map
[official-gcc.git] / gcc / testsuite / gcc.dg / redecl-15.c
blob06d6523eea68108c15fb1c86686a845221dbd7ed
1 /* Test for ICE with redeclaration in inner scope which is accepted
2 despite incompatible type. */
3 /* Origin: Joseph Myers <joseph@codesourcery.com> */
4 /* { dg-do compile } */
5 /* { dg-options "-std=gnu89" } */
7 void
8 f (void)
10 g(); /* { dg-message "note: previous implicit declaration of 'g'" } */
12 void g(); /* { dg-warning "conflicting types for 'g'" } */