1 /* Same as qual-return-3.c but with nested functions.
3 { dg-options "-std=gnu99" } */
7 auto int foo (); /* { dg-message "note: previous declaration" "different qualifiers" } */
9 const int foo () { return 0; } /* { dg-error "conflicting types" "different qualifiers" } */
12 volatile void bar () { } /* { dg-warning "qualified|volatile" "different qualifiers" } */
14 auto volatile void baz (void);
15 void baz () { } /* { dg-warning "not compatible" "different qualifiers" } */
18 /* { dg-prune-output "nested function 'foo' declared but never defined" } */