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

          Issue ID: 17748
           Summary: extern(C) do nothing on struct methods
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: P1
         Component: dmd
          Assignee: nob...@puremagic.com
          Reporter: ilyayaroshe...@gmail.com

struct S
{
   extern(C) void foo(){}
}

DMD generates D mangled name instead of C's `_foo`.

--

Reply via email to