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

           Summary: cannot use cast(void)expr if the type of expr is a
                    struct
           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 Henning Pohl <[email protected]> 2013-08-16 17:52:39 
PDT ---
void main()
{
    struct S { int i; }
    S s;
    cast(void)s;
}

---
Error: cannot cast from S to void
---

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

Reply via email to