1 /* { dg-additional-options "-fdiagnostics-show-line-numbers -fdiagnostics-path-format=inline-events -fdiagnostics-show-caret" } */
2 /* { dg-enable-nn-line-numbers "" } */
3 /* { dg-require-effective-target indirect_jumps } */
5 #include "test-setjmp.h"
7 #include "analyzer-decls.h"
30 __analyzer_dump_path (); /* { dg-message "path" } */
38 /* { dg-begin-multiline-output "" }
39 NN | __analyzer_dump_path ();
40 | ^~~~~~~~~~~~~~~~~~~~~~~
43 | NN | i = SETJMP(env);
46 | | (1) 'setjmp' called here
53 | | (2) following 'false' branch (when 'i == 0')...
55 | NN | longjmp (env, 1);
59 | | (4) rewinding within 'test_2' from 'longjmp'...
63 | NN | i = SETJMP(env);
66 | | (5) ...to 'setjmp' (saved at (1))
73 | | (6) following 'true' branch (when 'i != 0')...
79 | NN | __analyzer_dump_path ();
80 | | ~~~~~~~~~~~~~~~~~~~~~~~
84 { dg-end-multiline-output "" } */