mirror of
https://github.com/nillerusr/source-engine.git
synced 2025-01-19 03:20:55 +00:00
13 lines
187 B
C++
13 lines
187 B
C++
#include <exception>
|
|
struct S {
|
|
S() {}
|
|
virtual ~S() {
|
|
bool b = std::uncaught_exception();
|
|
}
|
|
};
|
|
int main(int argc, char* argv[])
|
|
{
|
|
S s;
|
|
return 0;
|
|
}
|