Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
valgrind
/
ae494d9abddd01b4ddd998957b41af6ec4d54f39
/
.
/
exp-sgcheck
/
tests
/
globalerr.c
blob: 5b42763e7f8875765fe1b573d933382cc86e6c0c [
file
] [
log
] [
blame
]
#include
<stdio.h>
short
a
[
7
];
static
short
b
[
7
];
int
main
(
void
)
{
int
i
;
short
sum
;
for
(
i
=
0
;
i
<
7
+
1
;
i
++)
{
sum
+=
a
[
i
]
*
b
[
i
];
}
return
1
&
((
unsigned
int
)
sum
/
1000000
);
}