Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
valgrind
/
856e58736522f31bc838322330126049205c6dcb
/
.
/
memcheck
/
tests
/
badaddrvalue.c
blob: 1bb20474725247c8de63534d645c332dcee04ff0 [
file
] [
log
] [
blame
]
#include
<stdio.h>
#include
<stdlib.h>
int
main
(
void
)
{
char
*
aa
=
malloc
(
8
);
aa
[-
1
]
=
17
;
if
(
aa
[-
1
]
==
17
)
printf
(
"17\n"
);
else
printf
(
"not 17\n"
);
return
0
;
}