1#include <stdio.h>
2#include <string.h>
3
4#define DEPTH	(4*1024)
5#define FRAME	(1024)
6
7static void test(int depth)
8{
9	volatile char frame[FRAME];
10
11	memset((char *)frame, 0xff, sizeof(frame));
12
13	if (depth > 1)
14		test(depth-1);
15}
16
17int main()
18{
19	test(DEPTH);
20
21	printf("PASSED\n");
22	return 0;
23}
24