← Back to index
|
Original Bugzilla link
Bug 8707 – ICE(cod1.c) 1689
Status
RESOLVED
Resolution
WORKSFORME
Severity
normal
Priority
P2
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2012-09-22T14:02:00Z
Last change time
2013-10-06T23:42:32Z
Keywords
ice
Assigned to
nobody
Creator
blooh_
Comments
Comment #0
by blooh_ — 2012-09-22T14:02:55Z
The code below gives an Internal error: ../ztc/cod1.c 1689 Tested with dmd v2.060. // ------------------------------ int test( T )( T array ) { return 0; } void main() { immutable int[5][2] array2d = [[1, 2, 3, 4, 5], [6, 7, 8, 9, 10]]; static int result = test( array2d ); } // ------------------------------
Comment #1
by bugzilla — 2013-10-06T23:42:32Z
Compiles without error on 2.064 head.