dmd/compiler/test/compilable/test16273.d
2022-07-09 18:53:07 +02:00

22 lines
226 B
D

// https://issues.dlang.org/show_bug.cgi?id=16273
class A()
{
alias MyD = D!();
}
class B
{
void f() {}
alias MyA = A!();
}
class C : B
{
override void f() {}
}
class D() : A!()
{
void g() { new C; }
}