1 /* { dg-do compile } */
2 /* { dg-options "-std=gnu89 -pedantic-errors" } */
21 return 1; /* { dg-error "with a value,\[^\n\r\]*-Wreturn-mismatch" } */
27 return f1 (); /* { dg-error "with expression\[^\n\r\]*-Wpedantic" } */
39 return f1 (); /* { dg-error "void value not ignored as it ought to be" } */