☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gdc.dg
/
torture
/
imports
/
pr109108.d
☽
☼
gcc/testsuite/gdc.dg/torture/imports/pr109108.d
code
plain
raw
1
module imports.pr109108;
2
private enum int function(ref int)[] funs =
3
[
4
0: (ref idx) => 0,
5
1: (ref idx) => 1,
6
];
7
8
int test109108(I)(I idx)
9
{
10
return funs[idx](idx);
11
}