Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
valgrind
/
a0664b9ca67b594bd6f570a61d3301167a24750c
/
.
/
none
/
tests
/
solaris
/
stack-overflow.c
blob: 60f1b7ef8f832fb40aa15a2c9f4cffbb2cd030b5 [
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
]
=
{
0
};
return
main
(
arr
[
argc
%
2
],
0
);
}