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