view test/mainargs1.d @ 102:027b8d8b71ec trunk

[svn r106] Turns out the last commit wasn't enough, now the D->LLVM process is even more split up. Basically it tries to do the following in order: Resolve types, Declare symbols, Create constant initializers, Apply initializers, Generate functions bodies. ClassInfo is now has the most useful(biased?) members working. Probably other stuf...
author lindquist
date Sun, 18 Nov 2007 06:52:57 +0100
parents 3f949c6e2e9d
children 44a95ac7368a
line wrap: on
line source

module mainargs1;

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