annotate tests/mini/strings2.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/strings2.d@5ce8ab11e75a
children
rev   line source
lindquist@120 1 module strings2;
lindquist@120 2
lindquist@120 3 import std.string;
lindquist@120 4 import std.stdio;
lindquist@120 5
lindquist@120 6 void main()
lindquist@120 7 {
lindquist@120 8 int i = 32;
lindquist@120 9 auto str = format(i);
lindquist@120 10 writefln(str);
lindquist@120 11
lindquist@120 12 long l = 123123;
lindquist@120 13 str = format(l);
lindquist@120 14 writefln(str);
lindquist@120 15 }