www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 22761] New: [REG 2.099] importC: Error: redeclaration with

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

          Issue ID: 22761
           Summary: [REG 2.099] importC: Error: redeclaration with
                    different type
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: regression
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: ibuclaw gdcproject.org

Introduced by https://github.com/dlang/dmd/pull/13627
---
extern long reg22344 (long adler, const char *buf, int len);

long reg22344(adler, buf, len)
    long adler;
    const char *buf;
    int len;
{
    return 0;
}

--
Feb 11 2022