ubuntu-buildroot/output/build/host-gcc-initial-11.4.0/gcc/testsuite/gdc.dg/pr91238.d

19 lines
216 B
D

// https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91238
// { dg-do compile }
alias T = const(char)*;
T name()
{
return "";
}
void collect(ref T)
{
}
void configure(T[T] targets)
{
collect(targets[name]);
}