Add C++17 test program

This commit is contained in:
Jeffrey Walton 2019-10-27 00:29:18 -04:00
parent 183fba44bf
commit e09bdbe5c4
No known key found for this signature in database
GPG Key ID: B36AB348921B1838
3 changed files with 7 additions and 0 deletions

View File

@ -592,6 +592,7 @@ TestPrograms/test_arm_sm4.cxx
TestPrograms/test_asm_mixed.cxx
TestPrograms/test_cxx.cxx
TestPrograms/test_cxx11.cxx
TestPrograms/test_cxx17.cxx
TestPrograms/test_glibc.cxx
TestPrograms/test_newlib.cxx
TestPrograms/test_ppc_aes.cxx

View File

@ -2,5 +2,6 @@
#include <forward_list>
int main(int argc, char* argv[])
{
std::forward_list<int> x;
return 0;
}

View File

@ -0,0 +1,5 @@
#include <exception>
int main(int argc, char* argv[])
{
return 0 == std::uncaught_exceptions() ? 0 : 1;
}