digitalmars.D.bugs - [Issue 22537] New: importC: Error: undefined reference to 'function'
- d-bugmail puremagic.com (24/24) Nov 22 2021 https://issues.dlang.org/show_bug.cgi?id=22537
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: nobody puremagic.com Reporter: ibuclaw gdcproject.org static int func(); int main() { return func(); } static int func() { return 0; } --
Nov 22 2021