Debian Codegraph @

gcc/testsuite/gdc.test/compilable/imports/ice11054a.d

raw
1 template Tuple()
2 {
3 string injectNamedFields()
4 {
5 formatNthX();
6 return "";
7 }
8 }
9 Tuple!T tuple(T...)()
10 {
11 }
12
13 void formatNthX(A...)(A)
14 {
15 static gencode(size_t count)()
16 {
17 result ~= ""; // comment out this line will remove the ICE
18 return "";
19 }
20 mixin(gencode!(A.length)());
21 }