Mercurial > projects > ldc
view test/moduleinfo2.d @ 296:0548a7720a1b trunk
[svn r317] Convert result of _adEq runtime function to bool to make sure EqualExp returns i1 bool.
author | ChristianK |
---|---|
date | Mon, 23 Jun 2008 19:08:32 +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); } }