Debian Codegraph @

gcc/testsuite/gdc.test/compilable/ice12002.d

raw
1 // REQUIRED_ARGS: -inline
2 // PERMUTE_ARGS:
3
4 void doFormat(void delegate(dchar) putc, TypeInfo[] arguments)
5 {
6 void formatArg(char fc)
7 {
8 const(char)* prefix = "";
9
10 void putstr(const char[] s)
11 {
12 //if (flags & FL0pad)
13 {
14 while (*prefix)
15 putc(*prefix++);
16 }
17
18 foreach (dchar c; s)
19 putc(c);
20 }
21
22 putstr(null);
23 }
24 }