☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gdc.test
/
compilable
/
test24118.d
☽
☼
gcc/testsuite/gdc.test/compilable/test24118.d
code
plain
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
}