]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gdc.test/compilable/issue21905.d
d: Import dmd b8384668f, druntime e6caaab9, phobos 5ab9ad256 (v2.098.0-beta.1)
[thirdparty/gcc.git] / gcc / testsuite / gdc.test / compilable / issue21905.d
1 module issue21905;
2
3 struct Conv
4 {
5 StaticIterable b;
6 alias b this;
7 }
8
9 struct StaticIterable
10 {
11 static Conv b;
12 alias b this;
13 }
14
15 void each(ref StaticIterable r)
16 {
17 return ;
18 }
19
20 void main()
21 {
22 StaticIterable s;
23 each(s);
24 }