← Back to index
|
Original Bugzilla link
Bug 527 – Compiler crash when use array, class, and struct in template argument
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2006-11-15T21:41:00Z
Last change time
2015-06-09T05:14:44Z
Keywords
ice-on-valid-code
Assigned to
bugzilla
Creator
lovesyao
Comments
Comment #0
by lovesyao — 2006-11-15T21:41:12Z
template test(int[] arr){ const int test=arr[0]; } static assert(test!([1])==1);