July 25, 2004 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 :)
| ||||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply