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

Function test

test/core/test_exceptions_longjmp3.cpp:10–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

mainFunction · 0.70

Calls 2

printfFunction · 0.85
fooFunction · 0.70

Tested by

no test coverage detected