typedef struct whatever { int c; }; void main(void) { register struct whatever w; /* This 'register' declaration causes Borland's Turbo-C 2.0 compiler to crash whether invoked from the editor or the command line. Declaring this as class 'register' is illegal because the address of a struct must be available (so that offsets to its members may be calculated), but, by definition, one can not take the address of a register variable. If the compiler were smart, it would realize that the 'whatever' struct has only one member, so any reference to that member needs an offset of 0; thus, the entire structure may be treated as any other scalar type. Still, this shouldn't cause the compiler to crash. 01/28/89 -- Kim Moser */ }