Files
valgrind/memcheck/tests/badloop.c
Nicholas Nethercote afebe61b37 Files updated, added and removed in order to turn the ERASER branch into HEAD
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1086
2002-09-23 09:36:25 +00:00

16 lines
220 B
C

#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;
}