☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gdc.test
/
runnable
/
test19891.d
☽
☼
gcc/testsuite/gdc.test/runnable/test19891.d
code
plain
raw
1
int g;
2
3
void fun(R)(auto ref int a, auto ref R r = g, auto ref int b = 1)
4
{
5
++r;
6
}
7
8
void main()
9
{
10
fun(10, 2);
11
fun(10);
12
assert(g == 1);
13
}