ftmemsim-valgrind/none/tests/linux/stack-overflow.c
Florian Krohm b77e045e1f Rewritten to use a single line instead of line splicing
to avoid line number differences in the reported error.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14988
2015-03-07 12:49:32 +00:00

6 lines
238 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]; return main(arr[argc%2], 0); }