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

          Issue ID: 22602
           Summary: importC: Error: cannot convert string literal to
                    'void*'
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: critical
          Priority: P1
         Component: dmd
          Assignee: [email protected]
          Reporter: [email protected]

---
void test()
{
    unsigned char *data;
    data = (void *)"\0\0\xff\xff";
}
---

--

Reply via email to