blob: 0e493d0e8af5b77add542f917615b506ef7808af [file] [log] [blame]
/* PR c/55976 */
/* { dg-do compile } */
/* { dg-options "-Wno-return-type" } */
/* Verify that -Wno-return-type turns off warnings about function return
type. */
void t () { return 1; } /* normally generates function returning void */
int b () { return; } /* normally generates function returning non-void */
int main()
{
t (); b ();
return 0;
}