Mercurial > projects > ldc
view test/moduleinfo2.d @ 278:30941d8ee320 trunk
[svn r299] forgot to return status in runExecutable
author | lindquist |
---|---|
date | Fri, 20 Jun 2008 22:12:15 +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); } }