https://issues.dlang.org/show_bug.cgi?id=12825

          Issue ID: 12825
           Summary: Invalid "duplicated union initialization" error with
                    initialized field in extern(C++) class
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Keywords: rejects-valid
          Severity: normal
          Priority: P1
         Component: DMD
          Assignee: [email protected]
          Reporter: [email protected]

extern(C++)
class C
{
    uint a = 0x12345678;
}

void main()
{
    auto c = new C();
}

--

Reply via email to