Sign in
android
/
platform
/
external
/
valgrind
/
aa19e15
/
.
/
none
/
tests
/
linux
/
stack-overflow.c
blob: 0ebbfbb8b25fba8fea0d4c473f8f41197a72e09a [
file
] [
log
] [
blame
]
/* 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
);
}