mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 13:10:12 +03:00
24 lines
242 B
D
24 lines
242 B
D
module issue21905;
|
|
|
|
struct Conv
|
|
{
|
|
StaticIterable b;
|
|
alias b this;
|
|
}
|
|
|
|
struct StaticIterable
|
|
{
|
|
static Conv b;
|
|
alias b this;
|
|
}
|
|
|
|
void each(ref StaticIterable r)
|
|
{
|
|
return ;
|
|
}
|
|
|
|
void main()
|
|
{
|
|
StaticIterable s;
|
|
each(s);
|
|
}
|