* gcc.dg/ucnid-[23456].c: XFAIL on AIX.
[official-gcc.git] / gcc / testsuite / gcc.dg / noreturn-3.c
blob3e727d25f4a41ef39f3b067d26e1a7ce118e62f9
1 /* Check for no "noreturn" warning in main. */
2 /* { dg-do compile } */
3 /* { dg-options "-O2 -Wmissing-noreturn -fhosted" } */
4 extern void exit (int) __attribute__ ((__noreturn__));
6 int
7 main (void)
9 exit (0);