1 // REQUIRED_ARGS: -preview=dip1000
2 // https://issues.dlang.org/show_bug.cgi?id=21880
3 extern(C++):
4 void spawnProcess(scope const(char*)*, File = File()) @safe
5 {
6 }
7 
pipeProcess(scope const (char *)* args)8 void pipeProcess(scope const(char*)* args) @safe
9 {
10     pipeProcessImpl!spawnProcess(args);
11 }
12 
pipeProcessImpl(alias spawnFunc,Cmd)13 void pipeProcessImpl(alias spawnFunc, Cmd)(Cmd command) @trusted
14 {
15     spawnFunc(command);
16 }
17 
18 struct File
19 {
~thisFile20     ~this() @safe
21     {
22     }
23 }
24