Debian Codegraph @

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

raw
1 // https://issues.dlang.org/show_bug.cgi?id=24118
2
3 void map(alias fun, T)(T[] arr)
4 {
5 fun(arr);
6 }
7
8
9 void foo()
10 {
11 if( __ctfe )
12 {
13 ["a", "b", "c"].map!( a => " " ~ a[0] );
14 }
15 }