Add bug 494246 to NEWS
[valgrind.git] / memcheck / tests / badloop.c
blob8780cf7f832783974228c697d6d8b3449b21edbf
2 #include <stdio.h>
4 int main ( void )
6 int a[5];
7 int i, s;
8 a[0] = a[1] = a[3] = a[4] = 0;
9 s = 0;
10 for (i = 0; i < 5; i++)
11 s += a[i];
12 if (s == 377)
13 printf("sum is %d\n", s);
14 return 0;