www.digitalmars.com         C & C++   DMDScript  

D - dmd crashes

This code:

typedef int[] T;
static T a=[1,2,3];

crashes dmd. While compiling, a window opens with the message "the
instruction in ... references the memory in ... Memory can't be read." (or
something like that), and then dmd exits. Funny thing since dmd passes (or
at least gets to) the code phase.

Carlos Santander

Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.510 / Virus Database: 307 - Release Date: 2003-08-14
Aug 15 2003