Debian Codegraph @

gcc/testsuite/gdc.dg/imports/gdc239.d

raw
1 module imports.gdc239;
2
3 class C239a
4 {
5 auto bar()
6 {
7 chainPath();
8 }
9 }
10
11 auto chainPath()
12 {
13 struct OnlyResult { }
14 chain([], OnlyResult(), []);
15 }
16
17 auto chain(Ranges...)(Ranges rs)
18 {
19 static struct Result
20 {
21 Ranges source;
22 this(Ranges)
23 {
24 }
25 }
26 Result(rs);
27 }