mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-03-16 09:01:50 +01:00
[svn r294] Fixed some more of the old tests.
This commit is contained in:
@@ -4,11 +4,9 @@ extern(C) int printf(char*, ...);
|
||||
|
||||
void main()
|
||||
{
|
||||
ModuleInfo[] mi = ModuleInfo.modules();
|
||||
printf("listing %u modules:\n");
|
||||
foreach(m; mi)
|
||||
printf("listing modules:\n");
|
||||
foreach(m; ModuleInfo)
|
||||
{
|
||||
printf(" %s\n", m.name.length, m.name.ptr);
|
||||
printf(" %.*s\n", m.name.length, m.name.ptr);
|
||||
}
|
||||
assert(mi.length > 50);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user