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


kenn...@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kenn...@gmail.com


--- Comment #4 from kenn...@gmail.com 2011-03-28 10:23:03 PDT ---
Also reproducible with '-inline -noboundscheck -O'. Should be a backend issue
in gother.c.

-------- 

struct H {
    double a;
    int[3] b;   // must not be the first member in a struct, and must be an
array with 3 or more members
}

void g(out int[3] t) {   // must take 'out' parameter
    t[0]=0;   // can be any mutating expression
}

void h (H* x) { // or 'out H' or 'ref H'
    g(x.b);
}

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

Reply via email to