allwinner_a64/android/external/valgrind/none/tests/solaris/stack-overflow.c
2018-08-08 16:14:42 +08:00

5 lines
244 B
C

/* There should be a user message about the overflow.
Written in a single line so there is no confusion on what line
the overflow occurs. */
int main(int argc, char *argv[]) { volatile int arr[1000] = {0}; return main(arr[argc%2], 0); }