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



--- Comment #2 from Don <clugd...@yahoo.com.au> 2011-05-11 08:28:11 PDT ---
Reduced test case that doesn't require structs or -inline.
Compile with -O.

void bug5976()
{
    int[] barr;
    int * k;
    foreach (ref b; barr)
    {
        scope(failure)
            k = &b;
        k = &b;
    }
}

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to