[Issue 1602] New: dmd freezes on array literal

downs default_357-line at yahoo.de
Tue Oct 23 02:38:44 PDT 2007


For what it's worth, the following works on GDC

>
> int[][] pins;
>
> void main()
> {
>         pins  = [cast(int[])[], [1], []];
>         pins  = [[],[],[]];  //this also freezes dmd endlessly
> }
>

So it's definitely DMD-specific.
 --downs


More information about the Digitalmars-d-bugs mailing list