[Issue 23017] New: Deriving C++ class from D one valid?

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Apr 14 20:42:22 UTC 2022


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

          Issue ID: 23017
           Summary: Deriving C++ class from D one valid?
           Product: D
           Version: D2
          Hardware: x86_64
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: naydef at abv.bg

Code:
```
class Parent
{
}

extern(C++) class Child : Parent
{

}
```

This code crashes LDC. The response was this code is invalid and should be
rejected.

https://github.com/ldc-developers/ldc/issues/3959

--


More information about the Digitalmars-d-bugs mailing list