[Issue 13652] 2D Static Array Init produces wrong result (-m64/-m32)

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sat Oct 25 07:36:17 PDT 2014


https://issues.dlang.org/show_bug.cgi?id=13652

bearophile_hugs at eml.cc changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bearophile_hugs at eml.cc

--- Comment #1 from bearophile_hugs at eml.cc ---
This seems a reduced test case:


void main() {
    uint[9][5] arr = [
         [0, 0, 0,  0, 1, 5,  8, 0, 7],
         [0, 3, 8,  0, 2, 0,  0, 6, 0],
         [0, 0, 7,  0, 6, 8,  9, 4, 0],
         [0, 0, 0,  0, 0, 1,  2, 9, 0],
         [9, 7, 0,  0, 0, 0,  0, 8, 3]];

    import std.stdio: writeln;
    arr.writeln;
}

--


More information about the Digitalmars-d-bugs mailing list