1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
// 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]); }