[Issue 15388] New: extern(C++) - typeof(null) should mangle as nullptr_t

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Sun Nov 29 02:07:42 PST 2015


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

          Issue ID: 15388
           Summary: extern(C++) - typeof(null) should mangle as nullptr_t
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: turkeyman at gmail.com

This should mangle as nullptr_t

extern (C++) struct X
{
  this(typeof(null) x) {}
}

...it also crashes DMD (noted in a separate bug)

--


More information about the Digitalmars-d-bugs mailing list