www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - Internal error when slicing a pointer

Internal error: ..\ztc\cgcod.c 1464

Here is the code:

void main ()
{
 int x=3;
 int[] a = (&x)[];
}

Ofcourse the code doesn't make sense but
would be nice if the compiler didn't crash :)
Jul 25 2004