blob: 6ad228fb0062e3dee3e3ae79da0a8d5c29b99f83 [file] [log] [blame]
#include <string.h>
void foo (int *BM_tab, int j)
{
int *BM_tab_base;
BM_tab_base = BM_tab;
BM_tab += 0400;
while (BM_tab_base != BM_tab)
{
*--BM_tab = j;
*--BM_tab = j;
*--BM_tab = j;
*--BM_tab = j;
}
}
int main ()
{
int BM_tab[0400];
memset (BM_tab, 0, sizeof (BM_tab));
foo (BM_tab, 6);
if (BM_tab[0] != 6)
abort ();
return 0;
}