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

--- Comment #2 from Walter Bright <[email protected]> ---
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();
}

--

Reply via email to