[Issue 20296] New: Segfault when using variadic D functions with extern(C++) linkage

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Oct 11 07:36:00 UTC 2019


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

          Issue ID: 20296
           Summary: Segfault when using variadic D functions with
                    extern(C++) linkage
           Product: D
           Version: D2
          Hardware: All
                OS: Mac OS X
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: andrej.mitrovich at gmail.com

-----
extern (C++)
void foo(T...)(T args)
{
}

alias F = foo!(char*);
-----

Tested with v2.088.0 and v2.086.1

--


More information about the Digitalmars-d-bugs mailing list