[Issue 14782] Internal error: backend/cod1.c

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Wed Jul 8 00:55:58 PDT 2015


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

--- Comment #1 from yazan.dabain at gmail.com ---
Further reduction:

struct Foo
{
    void* a;
    int b;
}

Foo[1] fun()
{
    Foo[1] a;
    return a;
}

void main()
{
    auto result = fun();
}

--


More information about the Digitalmars-d-bugs mailing list