MCPcopy Create free account
hub / github.com/emscripten-core/emscripten / nocatch

Function nocatch

test/core/test_exceptions_allowed_2.cpp:16–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14void (*funptr)(void) = throwhere;
15
16void nocatch(void) {
17 try {
18 funptr();
19 }
20 catch (...) {
21 printf("ERROR\n");
22 }
23}
24
25#ifdef MAIN_NO_SIGNATURE
26int main() {

Callers 1

mainFunction · 0.85

Calls 1

printfFunction · 0.85

Tested by

no test coverage detected