view test/mainargs1.d @ 157:5c17f81fc1c1 trunk

[svn r173] moved IR state previously stored in Type into IrType and a Type->IrType map; fixes #7
author ChristianK
date Thu, 01 May 2008 13:32:08 +0200
parents 44a95ac7368a
children d9d5d59873d8
line wrap: on
line source

module mainargs1;

extern(C) int printf(char*,...);

void main(string[] args)
{
    foreach(v; args)
    {
        printf("%.*s\n", v.length, v.ptr);
    }
}