view tangotests/files1.d @ 246:b604c56945b0 trunk

[svn r263] Changed *** ATTENTION *** to warnings. Implemented debug info for dynamic arrays, start of general composite support.
author lindquist
date Mon, 09 Jun 2008 15:52:22 +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);
}