blob: 4f1c46a884c50e4f0c08ef0c5be4030a0bba88ab [file] [log] [blame]
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#define ZILLION 1000000
void foo ( void );
void bar ( void );
int main ( void )
{
int i;
char* a = malloc(ZILLION * sizeof(char));
for (i = 0; i <= ZILLION; i++) {
foo();
a[i] = 0;
bar();
}
a = (char*)177;
_exit(1);
}
void foo ( void ) { }
void bar ( void ) { }