annotate tests/mini/stdiotest2.d @ 341:1bb99290e03a trunk

[svn r362] Started merging the old 'test' dir as well as the newer 'tangotests' dir into 'tests/mini' and 'tests/minicomplex'.
author lindquist
date Sun, 13 Jul 2008 02:51:19 +0200
parents test/stdiotest2.d@5825d48b27d1
children
rev   line source
lindquist@131 1 module stdiotest2;
lindquist@131 2 import std.stdio;
lindquist@131 3 void main()
lindquist@131 4 {
lindquist@131 5 int[4] v = [1,2,3,4];
lindquist@131 6 {
lindquist@131 7 writefln("%s", v);
lindquist@131 8 {
lindquist@131 9 int[] dv = v;
lindquist@131 10 {writefln("%s", dv);}
lindquist@131 11 }
lindquist@131 12 }
lindquist@131 13
lindquist@131 14 {
lindquist@131 15 writefln(v);
lindquist@131 16 {
lindquist@131 17 //int[] dv = v;
lindquist@131 18 //{writefln(dv);}
lindquist@131 19 }
lindquist@131 20 }
lindquist@131 21 //writefln(1,2,3,4.56,"hello",v);
lindquist@131 22 }