FreeBSD: add file descriptor tracking for _umtx_op
[valgrind.git] / none / tests / stackgrowth.c
blobcb241a1b34b0238a97de4914fc98f0b2fc4c4a85
1 #include <stdio.h>
2 #include <string.h>
4 #define DEPTH (4*1024)
5 #define FRAME (1024)
7 static void test(int depth)
9 volatile char frame[FRAME];
11 memset((char *)frame, 0xff, sizeof(frame));
13 if (depth > 1)
14 test(depth-1);
17 int main()
19 test(DEPTH);
21 printf("PASSED\n");
22 return 0;