dmd/compiler/test/compilable/test9209.d
2022-07-09 18:53:07 +02:00

16 lines
210 B
D

// PERMUTE_ARGS:
// https://issues.dlang.org/show_bug.cgi?id=9209
auto array(T)(T t){ return t; }
auto bar()(in int* x)
{
if (true) return 0;
return array(bar(x));
}
void main ()
{
bar(null);
}