digitalmars.D.bugs - [Issue 22538] New: importC: function 'func' conflicts with function
- d-bugmail puremagic.com (26/26) Nov 22 2021 https://issues.dlang.org/show_bug.cgi?id=22538
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: nobody puremagic.com Reporter: ibuclaw gdcproject.org Likely a duplicate of issue 22537. --- static int func(); int main() { return func(); } int func() { return 0; } --
Nov 22 2021