blob: 72dceafba192d3ca1e3662881a33aec3947a8cf9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
/* Test C1X _Noreturn. Test _Noreturn on main, freestanding. */
/* { dg-do compile } */
/* { dg-options "-std=c1x -pedantic-errors -ffreestanding" } */
_Noreturn void exit (int);
_Noreturn int
main (void)
{
exit (0);
}
|