[Issue 5147] [CTFE] Return fixed-sized matrix

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sun Oct 31 14:50:34 PDT 2010


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


Michal Minich <michal.minich at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |michal.minich at gmail.com


--- Comment #1 from Michal Minich <michal.minich at gmail.com> 2010-10-31 14:49:37 PDT ---
I would like to point out that this code works:

int[1] foo2() {
    int[1] a;
    return a;
}
enum int[1] m3 = foo2();
immutable int[1] m4 = foo2();
void main() {}

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