Mercurial > projects > ldc
view tests/mini/moduleinfo2.d @ 867:766267808f11
Rename test to accepted name.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Sat, 20 Dec 2008 09:29:36 +0100 |
parents | 1bb99290e03a |
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); } }