view gcc/testsuite/gdc.dg/imports/pr92216.d @ 19:2b5abeee2509 default tip

update gcc11
author anatofuz
date Mon, 25 May 2020 07:50:57 +0900
parents
children
line wrap: on
line source

module imports.pr92216;

class B : I
{
    protected override void getStruct(){}
    mixin A!();

}

mixin template A()
{
    public void* getS()
    {
        return null;
    }
}

public interface I
{
    public void* getS();
    protected void getStruct();
}