certificate/include/cryptopp/TestPrograms/test_cxx98_exception.cpp

13 lines
175 B
C++
Raw Normal View History

2025-06-26 15:15:38 +00:00
#include <exception>
struct S {
S() {}
virtual ~S() {
bool b = std::uncaught_exception();
}
};
int main(int argc, char* argv[])
{
S s;
return 0;
}