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

Function main

test/core/test_exceptions_longjmp1.cpp:10–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8}
9
10int main() {
11 int jmpval = setjmp(buf);
12 if (jmpval != 0) {
13 printf("setjmp returned for the second time\n");
14 return 0;
15 }
16 try {
17 foo();
18 } catch (...) {
19 }
20 return 0;
21}

Callers

nothing calls this directly

Calls 2

printfFunction · 0.85
fooFunction · 0.70

Tested by

no test coverage detected