view tests/mini/phobos/stdiotest2.d @ 583:12bda38ea366

Fixed choosing default target machine without needing to link in targets.
author Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
date Sun, 07 Sep 2008 17:44:25 -0700
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);
}