← Back to index
|
Original Bugzilla link
Bug 976 – compile-time const array makes dmd crash
Status
RESOLVED
Resolution
DUPLICATE
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D1 (retired)
Platform
x86
OS
Windows
Creation time
2007-02-17T05:51:00Z
Last change time
2014-02-16T15:22:51Z
Assigned to
bugzilla
Creator
Daniel919
Comments
Comment #0
by Daniel919 — 2007-02-17T05:51:14Z
import std.stdio; template eval(A...) { alias A eval; } const int foo[5] = [0,1,2,3,4]; void main() { writefln(eval!(foo[3])); }
Comment #1
by fvbommel — 2007-02-17T06:03:18Z
*** This bug has been marked as a duplicate of 975 ***