Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
valgrind
/
eff8b31c03b821619773365067cb15797d23925a
/
.
/
memcheck
/
tests
/
badloop.c
blob: 8780cf7f832783974228c697d6d8b3449b21edbf [
file
] [
log
] [
blame
]
#include
<stdio.h>
int
main
(
void
)
{
int
a
[
5
];
int
i
,
s
;
a
[
0
]
=
a
[
1
]
=
a
[
3
]
=
a
[
4
]
=
0
;
s
=
0
;
for
(
i
=
0
;
i
<
5
;
i
++)
s
+=
a
[
i
];
if
(
s
==
377
)
printf
(
"sum is %d\n"
,
s
);
return
0
;
}