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

           Summary: "= void" initialization should not be allowed in @safe
           Product: D
           Version: D2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: DMD
        AssignedTo: [email protected]
        ReportedBy: [email protected]


--- Comment #0 from Dicebot <[email protected]> 2013-05-29 08:23:23 PDT ---
Compiles in 2.063:

------------
@safe void foo()
{
   int x = void;
}
------------

Reporting because Andrei has clearly stated this is not intentional:
http://forum.dlang.org/post/[email protected]

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

Reply via email to