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