1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
// PERMUTE_ARGS: import std.file; import std.stdio; /***********************************************/ void test1() { auto p = std.file.getcwd(); writefln("%s '%s'\n", p.length, p); assert(p[$ - 1] != 0); } /***********************************************/ int main() { test1(); printf("Success\n"); return 0; }