[Issue 17831] [ICE] Internal error: backend/symbol.c 1039: foreach inside a switch statement

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sat Sep 16 13:32:29 UTC 2017


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

--- Comment #2 from Iain Buclaw <ibuclaw at gdcproject.org> ---
Ah, don't even need a foreach.

---
void main()
{
    switch (0)
    {
        int i = 0;
        case i:
            break;
        default:
            break;
    }
}
---

--


More information about the Digitalmars-d-bugs mailing list