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