source-engine/thirdparty/cryptopp/TestPrograms/test_cxx98_exception.cxx

13 lines
187 B
C++
Raw Normal View History

2020-10-22 20:43:01 +03:00
#include <exception>
struct S {
S() {}
virtual ~S() {
bool b = std::uncaught_exception();
}
};
int main(int argc, char* argv[])
{
S s;
return 0;
}