Mercurial > projects > ldc
view test/moduleinfo2.d @ 243:4d006f7b2ada trunk
[svn r260] Changed some of the LLVMDC specific code in the Tango core and did some minor cleanups.
author | lindquist |
---|---|
date | Mon, 09 Jun 2008 03:02:14 +0200 |
parents | 56a21f3e5d3e |
children | d9d5d59873d8 |
line wrap: on
line source
module moduleinfo2; import std.stdio; void main() { ModuleInfo[] mi = ModuleInfo.modules(); writefln("listing ",mi.length," modules"); foreach(m; mi) { writefln(" ",m.name); } assert(mi.length > 50); }