Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
valgrind
/
e15728c1b152b8f325183c4de9837b8a1ada00ff
/
.
/
memcheck
/
tests
/
exitprog.c
blob: 30672167a028cd648bca6685a58e5fa924e28745 [
file
] [
log
] [
blame
]
#include
<stdio.h>
#include
<stdlib.h>
#include
<unistd.h>
#define
ZILLION
1000000
int
main
(
void
)
{
int
i
;
char
*
a
=
malloc
(
ZILLION
*
sizeof
(
char
));
for
(
i
=
0
;
i
<=
ZILLION
;
i
++)
a
[
i
]
=
0
;
a
=
(
char
*)
177
;
_exit
(
1
);
}