view tangotests/files1.d @ 162:1856c62af24b trunk

[svn r178] Fixed codegen values for function arguments, the old approach was completely broken, amazing it even worked...
author lindquist
date Mon, 05 May 2008 00:56:53 +0200
parents
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);
}