PR c/64856
[official-gcc.git] / gcc / testsuite / gcc.dg / c11-noreturn-4.c
bloba92a1140f676c0edd846d0e5da44a9c8bf29cb1b
1 /* Test C11 _Noreturn. Test _Noreturn on main, freestanding. */
2 /* { dg-do compile } */
3 /* { dg-options "-std=c11 -pedantic-errors -ffreestanding" } */
5 _Noreturn void exit (int);
7 _Noreturn int
8 main (void)
10 exit (0);