February 17, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=976

           Summary: compile-time const array makes dmd crash
           Product: D
           Version: 1.006
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzilla@digitalmars.com
        ReportedBy: Daniel919@web.de


import std.stdio;

template eval(A...) { alias A eval; }

const int foo[5] = [0,1,2,3,4];

void main()
{
        writefln(eval!(foo[3]));
}


-- 

February 17, 2007
http://d.puremagic.com/issues/show_bug.cgi?id=976


fvbommel@wxs.nl changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE




------- Comment #1 from fvbommel@wxs.nl  2007-02-17 06:03 -------


*** This bug has been marked as a duplicate of 975 ***


--