First Commit
This commit is contained in:
11
externals/cryptopp/TestPrograms/test_cxx17_exceptions.cpp
vendored
Normal file
11
externals/cryptopp/TestPrograms/test_cxx17_exceptions.cpp
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
// https://en.cppreference.com/w/cpp/feature_test
|
||||
#include <exception>
|
||||
int main(int argc, char* argv[])
|
||||
{
|
||||
#if __cpp_lib_uncaught_exceptions >= 201411L
|
||||
int x = std::uncaught_exceptions();
|
||||
#else
|
||||
int x[-1];
|
||||
#endif
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user