Debian Codegraph @

gcc/testsuite/gcc.dg/analyzer/setjmp-pr93378.c

raw
1 /* { dg-additional-options "-O1 -g" } */
2 /* { dg-require-effective-target indirect_jumps } */
3
4 #include "test-setjmp.h"
5
6 jmp_buf buf;
7
8 int
9 test (void)
10 {
11 if (setjmp (buf) != 0)
12 return 0;
13
14 longjmp (buf, 1);
15 return 1;
16 }