[Issue 22263] New: importC Error: 'fun' called with argument types '(int)' matches both: 'fun(int)' and 'fun(int);

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Sep 1 11:49:06 UTC 2021


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

          Issue ID: 22263
           Summary: importC Error: 'fun' called with argument types
                    '(int)' matches both: 'fun(int)' and 'fun(int);
           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

Reduced test:
---
extern void test(int);

void test(int a)
{
}

int main()
{
  test(42);
}

--


More information about the Digitalmars-d-bugs mailing list