Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
10
void 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
19
int main() {
20
try {
Callers
1
main
Function · 0.70
Calls
2
printf
Function · 0.85
foo
Function · 0.70
Tested by
no test coverage detected