www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 23017] New: Deriving C++ class from D one valid?

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 puremagic.com
          Reporter: naydef 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

--
Apr 14 2022