repo.or.cz
/
valgrind.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
drd/tests/swapcontext: Improve the portability of this test further
[valgrind.git]
/
none
/
tests
/
linux
/
stack-overflow.c
blob
0ebbfbb8b25fba8fea0d4c473f8f41197a72e09a
1
/* There should be a user message about the overflow.
2
Written in a single line so there is no confusion on what line
3
the overflow occurs. */
4
5
int
main
(
int
argc
,
char
*
argv
[]) {
volatile
int
arr
[
1000
];
return
main
(
arr
[
argc
%
2
],
0
); }