Debian Codegraph @

gcc/testsuite/gdc.dg/pr91238.d

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 }