tests/vg_regtest: Always evaluate prerequisite expressions with sh
[valgrind.git] / memcheck / tests / darwin / deep_badparam.c
blob9f12683708be6a93579463d0bc615a113aab9d8c
1 #include <stdio.h>
2 #include <stdlib.h>
3 #include <unistd.h>
5 int func_six(int x)
7 char b[32];
8 int r = write(1, b, sizeof(b));
9 return x;
12 int func_five(int x)
14 return func_six(x + 5);
17 int func_four(int x)
19 return func_five(x + 4);
22 int func_three(int x)
24 return func_four(x + 3);
27 int func_two(int x)
29 return func_three(x + 2);
32 int func_one(int x)
34 return func_two(x + 1);
37 int main(void)
39 func_one(10);
40 return 0;