Mercurial > projects > ldc
view tests/mini/phobos/stdiotest2.d @ 947:9a10fa839dc5
Switch some getModule to getCompilationModule to make sure templates are
emitted in the right module.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Sun, 08 Feb 2009 18:51:32 +0100 |
parents | fc098100ecc7 |
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); }