blob: 21d1606cafe3e917ad0e8dcdf871a36168cf0474 [file] [log] [blame]
#include <setjmp.h>
#include <stdio.h>
int main()
{
jmp_buf buf;
unsigned i = 0;
if (setjmp(buf) < 10) {
printf("i == %u\n", i);
longjmp(buf, ++i);
}
return 0;
}