annotate test/strings2.d @ 120:5ce8ab11e75a trunk

[svn r124] Fixed another D vararg + return in ptr bug. Fixed some nested function calls failed to resolve the context ptr.
author lindquist
date Mon, 26 Nov 2007 07:26:21 +0100
parents
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 }