Test for other exit cases.

It might be worth regenerating configure with modern autoconf.

Reviewed by <riastradh>
Closes PR toolchain/53314
This commit is contained in:
sevan 2018-11-06 22:01:16 +00:00
parent c1a2098819
commit b62e5649d3
1 changed files with 4 additions and 0 deletions

View File

@ -2511,6 +2511,8 @@ if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
'extern "C" void std::exit (int); using std::exit;' \
'extern "C" void exit (int) throw ();' \
'extern "C" void exit (int);' \
'extern "C" [[noreturn]] void exit (int);' \
'extern "C" _Noreturn void exit (int);' \
'void exit (int);'
do
cat >conftest.$ac_ext <<_ACEOF
@ -2977,6 +2979,8 @@ for ac_declaration in \
'extern "C" void std::exit (int); using std::exit;' \
'extern "C" void exit (int) throw ();' \
'extern "C" void exit (int);' \
'extern "C" [[noreturn]] void exit (int);' \
'extern "C" _Noreturn void exit (int);' \
'void exit (int);'
do
cat >conftest.$ac_ext <<_ACEOF