www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 22263] New: importC Error: 'fun' called with argument types

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 puremagic.com
          Reporter: ibuclaw gdcproject.org

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

void test(int a)
{
}

int main()
{
  test(42);
}

--
Sep 01