Mercurial > projects > ldc
comparison 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 |
comparison
equal
deleted
inserted
replaced
161:3a891cfcd249 | 162:1856c62af24b |
---|---|
1 module tangotests.files1; | |
2 | |
3 //import tango.io.Stdout; | |
4 import tango.io.File; | |
5 | |
6 void main() | |
7 { | |
8 auto file = new File("files1.output"); | |
9 char[] str = "hello world from files1 test\n"; | |
10 void[] data = cast(void[])str; | |
11 file.write(str); | |
12 } |