mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 13:32:33 +01:00
13 lines
151 B
C
13 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");
|
|
}
|