From 9d7a4bddb8e15687c654ab54c8e194fce2f00617 Mon Sep 17 00:00:00 2001 From: mszulecki Date: Fri, 23 Feb 2007 01:03:11 +0000 Subject: Add a sample static convenience library. git-svn-id: http://svn.sukimashita.com/repos/dskel/trunk@13 4281df72-ff29-0410-8fee-2d9ac0c5f5a7 --- src/helloworld.d | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/helloworld.d') diff --git a/src/helloworld.d b/src/helloworld.d index e1113cc..74f6428 100755 --- a/src/helloworld.d +++ b/src/helloworld.d @@ -1,9 +1,10 @@ import config; +import testlibrary; import std.stdio; void main(char[][] args) { - writefln("Hello World, Version: " ~ config.VERSION); + writefln(HelloWorldFactory.getName() ~ ", Version: " ~ config.VERSION); // auto type inference and built-in foreach foreach (argc, argv; args) -- cgit v1.1-32-gdbae