mirror of
https://github.com/MariaDB/server.git
synced 2025-08-27 13:04:36 +03:00
14 lines
151 B
C
14 lines
151 B
C
#include <setjmp.h>
|
|
|
|
main()
|
|
{
|
|
jmp_buf foo;
|
|
|
|
if (setjmp(foo)) {
|
|
exit(0);
|
|
}
|
|
printf("Hi mom\n");
|
|
longjmp(foo, 1);
|
|
printf("Should never reach here\n");
|
|
}
|