mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 21:21:48 +03:00
21 lines
221 B
D
21 lines
221 B
D
// https://issues.dlang.org/show_bug.cgi?id=19840
|
|
struct G
|
|
{
|
|
ubyte[] I;
|
|
alias I this;
|
|
}
|
|
|
|
auto M(ubyte[])
|
|
{
|
|
G N;
|
|
return N;
|
|
}
|
|
|
|
struct U { int V; }
|
|
|
|
void X()
|
|
{
|
|
func((cast(U[])[].M));
|
|
}
|
|
|
|
void func(U[]) {}
|