[Issue 8707] New: Internal error: ../ztc/cod1.c 1689

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Sep 22 14:01:54 PDT 2012


http://d.puremagic.com/issues/show_bug.cgi?id=8707

           Summary: Internal error: ../ztc/cod1.c 1689
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nobody at puremagic.com
        ReportedBy: blooh_ at hotmail.com


--- Comment #0 from Christopher Crouzet <blooh_ at hotmail.com> 2012-09-22 14:02:55 PDT ---
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 );
}
// ------------------------------

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list