Sign in
android
/
toolchain
/
gcc
/
3f73d6ef904
/
.
/
gcc-4.6
/
gcc
/
testsuite
/
gcc.dg
/
noreturn-8.c
blob: 50765da37ef45d3fac1f7078755822185186e475 [
file
] [
log
] [
blame
]
/* { dg-do run } */
/* { dg-options "-O2" } */
void
exit
(
int
);
void
noreturn_autodetection_failed
();
__attribute__
((
noinline
))
detect_noreturn
()
{
exit
(
0
);
}
int
main
(
void
)
{
detect_noreturn
();
noreturn_autodetection_failed
();
return
0
;
}