Mercurial > projects > ldc
view tangotests/files1.d @ 332:d7e6ace5cca4 trunk
[svn r353] Fix typo. (fixes empty catch handlers, like catch_02.d)
author | ChristianK |
---|---|
date | Fri, 11 Jul 2008 22:33:21 +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); }