c/setjmp/demo

This commit is contained in:
xushiwei
2024-06-07 14:12:35 +08:00
parent 4868903844
commit 95c1886df5
6 changed files with 115 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
#include <stdexcept>
extern "C" void throwCppException() {
throw std::runtime_error("C++ exception");
}