]> git.ipfire.org Git - thirdparty/gcc.git/blob - gcc/testsuite/gdc.dg/pr91238.d
d: Fix internal compiler error: in add_expr, at tree.c:7794
[thirdparty/gcc.git] / gcc / testsuite / gdc.dg / pr91238.d
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 }