Summary: ICE(interpret.c) Catching an exception with a null
                    catch block
           Product: D
           Version: D1 & D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: CTFE, ice
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from yebblies <> 2012-02-19 23:10:41 EST ---
This only happens when the catch block is null - when the body statement is
dropped by semantic.  There are probably other ways to get this.

int test7544()
    try { throw new Exception(""); }
    catch (Exception e) static assert(1);
    return 1;

static assert(test7544());

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to