Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
valgrind
/
c7c6aedbe893707e122c466e52c239b8e3534d7d
/
.
/
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
;
}