1 /* PR 29521 : warning for return with expression in function returning void */
2 /* { dg-do compile } */
3 /* { dg-options "-pedantic-errors" } */
9 return func (); /* { dg-error "ISO C forbids 'return' with expression" } */
14 return 1; /* { dg-error "'return' with a value" } */