view tests/mini/phobos/strings2.d @ 823:794c8af186ce

Fixed non-static struct initializers.
author Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
date Wed, 03 Dec 2008 01:40:28 +0100
parents ba7f06832d1c
children
line wrap: on
line source

module strings2;

import std.string;
import std.stdio;

void main()
{
    int i = 32;
    auto str = format(i);
    writefln(str);

    long l = 123123;
    str = format(l);
    writefln(str);
}