Mercurial > projects > ldc
view tangotests/files1.d @ 233:76ee1bbe487e trunk
[svn r249] Changed inline asm clobbers to a set instead of a list so we don't get duplicate clobbers.
author | lindquist |
---|---|
date | Sun, 08 Jun 2008 06:45:54 +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); }