mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 13:10:12 +03:00
32 lines
295 B
D
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)
|
|
{
|
|
|
|
}
|
|
}
|