Sign in
chromium
/
external
/
github.com
/
emscripten-core
/
emscripten
/
refs/tags/1.36.13
/
.
/
tests
/
core
/
test_exceptions_white_list.cpp
blob: 2944f9fe02d5f9d849b956ba6d59b703a3ee270f [
file
] [
log
] [
blame
]
#include
<stdio.h>
void
thrower
()
{
printf
(
"infunc..."
);
throw
(
99
);
printf
(
"FAIL"
);
}
void
somefunction
()
{
try
{
thrower
();
}
catch
(...)
{
printf
(
"done!*\n"
);
}
}
int
main
()
{
somefunction
();
return
0
;
}