[Issue 22538] New: importC: function 'func' conflicts with function 'func' when using static in forward declaration
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Nov 23 01:09:46 UTC 2021
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 at puremagic.com
Reporter: ibuclaw at gdcproject.org
Likely a duplicate of issue 22537.
---
static int func();
int main()
{
return func();
}
int func()
{
return 0;
}
--
More information about the Digitalmars-d-bugs
mailing list