mirror of
https://github.com/MariaDB/server.git
synced 2025-02-02 03:51:50 +01: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");
|
||
|
}
|