Summary: nothrow main() can throw
           Product: D
           Version: future
          Platform: x86
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD

--- Comment #0 from 2010-04-12 04:26:37 PDT ---
This program compiles with dmd 2.043, and the main() throws, even if it's a
nothrow function:

struct Foo {
    ~this() { throw new Exception(""); }
nothrow void main() {
    Foo f;
    goto NEXT;

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

Reply via email to