view test/strings2.d @ 121:9c79b61fb638 trunk

[svn r125] Renamed/moved a few backend member inside DMD structures for consistency. Unit tests are now implemented.
author lindquist
date Tue, 27 Nov 2007 03:09:36 +0100
parents 5ce8ab11e75a
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);
}