dmd/compiler/test/runnable/imports/bug10425.d
2022-07-09 18:53:07 +02:00

32 lines
295 B
D

module imports.bug10425;
struct A()
{
int opCmp(const ref A p) const
{
return 0;
}
string toString()
{
return "";
}
}
struct B()
{
void foo()
{
auto a = new A!();
}
}
struct C
{
alias A!() a_t;
this(B!() b)
{
}
}