1 /* { dg-additional-options "-fno-analyzer-call-summaries -Wno-analyzer-too-complex" } */
3 /* A two-deep mutual recursion, with no limit, and
4 failing to walk the list, thus leading to an infinite recursion. */
11 void foo (struct node
*f
);
13 void bar (struct node
*b
)
15 foo (b
); /* { dg-warning "infinite recursion" } */
18 void foo (struct node
*f
)
21 /* Bug: should have recursed to f->child, not to f. */
22 bar (f
); /* { dg-warning "infinite recursion" } */