1 extern void marker_A(void);
2 extern void marker_B(void);
3 extern void marker_C(void);
4 extern void marker_D(void);
13 /* Recurse, infinitely, as it happens: */
14 test(flag
); /* { dg-warning "infinite recursion" } */
22 /* A cycle of 4 mutually-recursive functions (but only for certain inputs). */
24 extern void mutual_test_1 (int flag
);
25 extern void mutual_test_2 (int flag
);
26 extern void mutual_test_3 (int flag
);
27 extern void mutual_test_4 (int flag
);
29 void mutual_test_1 (int flag
)
33 mutual_test_2 (flag
); /* { dg-warning "infinite recursion" } */
36 void mutual_test_2 (int flag
)
40 mutual_test_3 (flag
); /* { dg-warning "infinite recursion" } */
43 void mutual_test_3 (int flag
)
47 mutual_test_4 (flag
); /* { dg-warning "infinite recursion" } */
50 void mutual_test_4 (int flag
)
54 mutual_test_1 (flag
); /* { dg-warning "infinite recursion" } */