☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gdc.test
/
compilable
/
test23676.d
☽
☼
gcc/testsuite/gdc.test/compilable/test23676.d
code
plain
raw
1
// Issue 23676 - Static foreach hangs compilation for some time
2
// https://issues.dlang.org/show_bug.cgi?id=23676
3
4
void f()
5
{
6
int i;
7
void g(int I)()
8
{
9
static foreach(j; 0..11)
10
{
11
i++;
12
g!j();
13
}
14
}
15
g!0;
16
}