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

           Summary: Segfault on array multiplication.
           Product: D
           Version: 2.022
          Platform: PC
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: bugzi...@digitalmars.com
        ReportedBy: dsim...@yahoo.com


import std.stdio;

void main() {
    double[] foo = [1.0,2,3,4,5].dup;
    writeln(foo[] * 2.0);

}

Output of this program on Win32:

object.Error: Access Violation
[


-- 

Reply via email to