[Issue 4414] ICE(cgcs.c) Taking item of static array returned by function

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Dec 26 05:40:36 PST 2012


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


yebblies <yebblies at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |yebblies at gmail.com


--- Comment #10 from yebblies <yebblies at gmail.com> 2012-12-27 00:40:35 EST ---
Same thing happens with slicing

ubyte[4] bytes()
{
    ubyte[4] x;
    return x;
}

void main()
{
    auto x = bytes()[0..4];
}

-- 
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