view test/moduleinfo2.d @ 303:4aa2b6753059 trunk

[svn r324] Small indentation fixes. Added end of line to complex.cpp.
author ChristianK
date Wed, 25 Jun 2008 20:42:30 +0200
parents 25fa34e899e9
children
line wrap: on
line source

module moduleinfo2;

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

void main()
{
    printf("listing modules:\n");
    foreach(m; ModuleInfo)
    {
        printf("  %.*s\n", m.name.length, m.name.ptr);
    }
}