PR debug/48204
[official-gcc.git] / gcc / testsuite / gcc.dg / noreturn-8.c
blob50765da37ef45d3fac1f7078755822185186e475
1 /* { dg-do run } */
2 /* { dg-options "-O2" } */
3 void exit (int);
4 void noreturn_autodetection_failed ();
5 __attribute__ ((noinline))
6 detect_noreturn ()
8 exit (0);
10 int
11 main (void)
13 detect_noreturn ();
14 noreturn_autodetection_failed ();
15 return 0;