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

           Summary: Garbage is returned from `void main()`
           Product: D
           Version: D1 & D2
          Platform: Other
        OS/Version: Windows
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: nob...@puremagic.com
        ReportedBy: verylonglogin....@gmail.com


--- Comment #0 from Denis <verylonglogin....@gmail.com> 2011-08-01 05:06:43 PDT 
---
No `xor eax,eax` instruction added by dmd v1.069/v2.054 so the program returns
garbage:

void f(){}

void main() {
    return f();
}

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

Reply via email to