blob: 3e727d25f4a41ef39f3b067d26e1a7ce118e62f9 [file] [log] [blame]
/* Check for no "noreturn" warning in main. */
/* { dg-do compile } */
/* { dg-options "-O2 -Wmissing-noreturn -fhosted" } */
extern void exit (int) __attribute__ ((__noreturn__));
int
main (void)
{
exit (0);
}