1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-27 13:04:36 +03:00
Files
mariadb/mit-pthreads/tests/test_setjmp.c
bk@work.mysql.com f4c589ff6c Import changeset
2000-07-31 21:29:14 +02:00

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");
}