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

           Summary: Segfault with forward-referenced enum
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: ice
          Severity: minor
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: thecybersha...@gmail.com


--- Comment #0 from Vladimir Panteleev <thecybersha...@gmail.com> 2012-08-04 
23:49:24 PDT ---
--- math.d ---
real hypot() {
    enum SQRTMAX;
    SQRTMAX/2;
}
--- output ---
$ dmd math.d
math.d(2): Error: enum SQRTMAX is forward referenced
math.d(2): Error: enum SQRTMAX is forward referenced
math.d(2): Error: enum SQRTMAX is forward referenced
math.d(2): Error: enum SQRTMAX is forward referenced
math.d(2): Error: enum SQRTMAX is forward referenced
math.d(2): Error: enum SQRTMAX is forward referenced
Segmentation fault

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

Reply via email to