diff 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 diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tangotests/files1.d	Mon May 05 00:56:53 2008 +0200
@@ -0,0 +1,12 @@
+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);
+}