pretty-print.h (pp_base): Remove.
[official-gcc.git] / gcc / testsuite / gcc.dg / setjmp-4.c
blob53bf0e8724ad75e980c5cb1b6e9abef612382c1a
1 /* { dg-do run } */
2 /* { dg-options "-O" } */
4 #include <setjmp.h>
6 extern void abort (void);
8 jmp_buf buf;
10 void raise0(void)
12 __builtin_longjmp (buf, 1);
15 int execute(int cmd)
17 int last = 0;
19 __builtin_setjmp (buf);
21 if (last == 0)
22 while (1)
24 last = 1;
25 raise0 ();
28 if (last == 0)
29 return 0;
30 else
31 return cmd;
34 int main(void)
36 if (execute (1) == 0)
37 abort ();
39 return 0;