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

          Issue ID: 22538
           Summary: importC: function 'func' conflicts with function
                    'func' when using static in forward declaration
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: P1
         Component: dmd
          Assignee: nob...@puremagic.com
          Reporter: ibuc...@gdcproject.org

Likely a duplicate of issue 22537.
---
static int func();

int main()
{
  return func();
}

int func()
{
  return 0;
}

--

Reply via email to