summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gdc.test/runnable/testfile.d
blob: 7005900861673c4ed21f4b4b1c798186f9b81948 (plain)
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;
}