newton@cme.nist.gov (Eric Newton) (02/24/90)
/*
gcc-1.37 configured for "iris"
This program, compiled without any options, dumps core.
TOO_BIG here is any integer larger than 8186.
*/
#include <stdio.h>
#DEFINE TOO_BIG 10000
main ()
{
char * s[TOO_BIG];
printf("Hello world\n");
s[0] = " ";
printf("Hello world\n");
}
/*
prints:
Hello world
Segmentation fault (core dumped)
*/