[Issue 13599] [D1] backend/cod1.c ICE with -inline

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun Oct 12 14:06:56 PDT 2014


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

--- Comment #2 from Walter Bright <bugzilla at digitalmars.com> ---
Reduced test case:

struct E { }

struct M ( N... )
{
    struct { N P; }

    E R()
    {
        foreach ( U ; P )
            return U;
        assert(0);
    }
}

void MB( )
{
    auto SB = cast(M!(E)*) null;
    SB.R();
}

--


More information about the Digitalmars-d-bugs mailing list