mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-13 14:42:03 +00:00
erroneously includes binaries; the next will remove them. git-svn-id: svn://svn.valgrind.org/vex/trunk@203
18 lines
224 B
C
18 lines
224 B
C
|
|
#include <stdio.h>
|
|
|
|
double a[10];
|
|
|
|
int main ( void )
|
|
{
|
|
int i;
|
|
double s;
|
|
for (i = 0; i < 10; i++)
|
|
a[i] = 11.11 * i;
|
|
s = 0.0;
|
|
for (i = 0; i < 10; i++)
|
|
s += a[i];
|
|
printf("result = %f\n", s);
|
|
return 0;
|
|
}
|