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

          Issue ID: 22537
           Summary: importC: Error: undefined reference to 'function' when
                    using static in forward declaration
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: P1
         Component: dmd
          Assignee: [email protected]
          Reporter: [email protected]

static int func();

int main()
{
  return func();
}

static int func()
{
  return 0;
}

--

Reply via email to