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: [email protected]
          Reporter: [email protected]

This should mangle as nullptr_t

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

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

--

Reply via email to