Mercurial > projects > ldc
view test/stdiotest2.d @ 277:90a8c798b0db trunk
[svn r298] Eliminated the dmd/link.c source file entirely in favor of a llvm::sys based approach to the same functionality.
author | lindquist |
---|---|
date | Fri, 20 Jun 2008 22:09:04 +0200 |
parents | 5825d48b27d1 |
children |
line wrap: on
line source
module stdiotest2; import std.stdio; void main() { int[4] v = [1,2,3,4]; { writefln("%s", v); { int[] dv = v; {writefln("%s", dv);} } } { writefln(v); { //int[] dv = v; //{writefln(dv);} } } //writefln(1,2,3,4.56,"hello",v); }