First Commit
This commit is contained in:
12
externals/cryptopp/TestPrograms/test_cxx98_exception.cpp
vendored
Normal file
12
externals/cryptopp/TestPrograms/test_cxx98_exception.cpp
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
#include <exception>
|
||||
struct S {
|
||||
S() {}
|
||||
virtual ~S() {
|
||||
bool b = std::uncaught_exception();
|
||||
}
|
||||
};
|
||||
int main(int argc, char* argv[])
|
||||
{
|
||||
S s;
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user