[Issue 4082] nothrow main() can throw

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Aug 15 02:13:04 PDT 2012


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



--- Comment #3 from Marco Leise <Marco.Leise at gmx.de> 2012-08-15 02:12:57 PDT ---
It also happens when I add a switch statement and the goto is a 'goto case
...'. It seems the BEgoto flag has a viral effect. I'll try to fix it.

    int x;
    switch(x)
    {
        case 1:
            break;
        case 0:
            goto case 1; // disables nothrow check
        default:
    }

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


More information about the Digitalmars-d-bugs mailing list