blob: b46f59dcd13ad1f3bbb9dcb9ff4f56ddf710001c [file] [log] [blame]
// PERMUTE_ARGS:
extern(C) int printf(const char*, ...);
int main(char[][] args)
{
printf("hello world\n");
printf("args.length = %zd\n", args.length);
for (int i = 0; i < args.length; i++)
printf("args[%d] = '%.*s'\n", i, cast(int)args[i].length, args[i].ptr);
return 0;
}