☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gdc.test
/
runnable
/
test23083.d
☽
☼
gcc/testsuite/gdc.test/runnable/test23083.d
code
plain
raw
1
// https://issues.dlang.org/show_bug.cgi?id=23083
2
int calls = 0;
3
4
int[2] f()
5
{
6
calls++;
7
return [123, 456];
8
}
9
10
void g(int a, int b) {}
11
12
void main()
13
{
14
g(f().tupleof);
15
assert(calls == 1);
16
}