☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
gdc.dg
/
pr91238.d
☽
☼
gcc/testsuite/gdc.dg/pr91238.d
code
plain
raw
1
// https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91238
2
// { dg-do compile }
3
4
alias T = const(char)*;
5
6
T name()
7
{
8
return "";
9
}
10
11
void collect(ref T)
12
{
13
}
14
15
void configure(T[T] targets)
16
{
17
collect(targets[name]);
18
}