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

          Issue ID: 22262
           Summary: importC: Error: incompatible types for `(buf) is (0)`:
                    `ubyte*` and `int`
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: P1
         Component: dmd
          Assignee: [email protected]
          Reporter: [email protected]

Reduced test:
---
void test(unsigned char *buf)
{
  if (buf == 0)
    return;
}

--

Reply via email to