1 // EXECUTE_ARGS: foo bar doo
7 void main(string[] args)
9 string[] dArgs = Runtime.args;
10 CArgs cArgs = Runtime.cArgs;
12 assert(dArgs.length && cArgs.argc); // ensure we've passed some args
13 assert(dArgs.length == cArgs.argc);
15 assert(dArgs[1] == to!string(cArgs.argv[1]));
16 assert(args[1] == to!string(cArgs.argv[1]));