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

--- Comment #4 from Dibyendu Majumdar <mob...@majumdar.org.uk> ---
I assume you mean that it needs to be coded like this?

import core.stdc.stdio : printf;

extern (C++) abstract class A {
    void sayHello();
}

extern (C++) class B : A {
    override void sayHello() {
        printf("hello\n");
    }
}

extern (C) void main() {
    scope b = new B;
    b.sayHello();
}

This works

--

Reply via email to