https://d.puremagic.com/issues/show_bug.cgi?id=12362

           Summary: dmd hangs when attempting to use undefined enum
           Product: D
           Version: D2
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: [email protected]
        ReportedBy: [email protected]


--- Comment #0 from [email protected] 2014-03-14 02:20:04 PDT ---
I think it should give an error.

enum foo;
void main()
{
    enum bar = foo;
}

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

Reply via email to