view tangotests/files1.d @ 218:df641a27e9fd trunk

[svn r234] Fixed: missed a few bogus #ifs in last revision.
author lindquist
date Thu, 05 Jun 2008 06:43:34 +0200
parents 1856c62af24b
children
line wrap: on
line source

module tangotests.files1;

//import tango.io.Stdout;
import tango.io.File;

void main()
{
    auto file = new File("files1.output");
    char[] str = "hello world from files1 test\n";
    void[] data = cast(void[])str;
    file.write(str);
}