mirror of
https://github.com/dlang/dmd.git
synced 2025-04-26 21:21:48 +03:00
16 lines
210 B
D
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);
|
|
}
|