Mercurial > projects > ldc
diff tests/testincludes/std/gc.d @ 333:f7190d9eb70c trunk
[svn r354] Fix the regressions between [346] and [353] by making constructors and destructors outside classes fatal errors.
Fix tests makefile and add minimize to gc.d.
author | ChristianK |
---|---|
date | Sat, 12 Jul 2008 09:23:14 +0200 |
parents | d7e42b5d8ccd |
children |
line wrap: on
line diff
--- a/tests/testincludes/std/gc.d Fri Jul 11 22:33:21 2008 +0200 +++ b/tests/testincludes/std/gc.d Sat Jul 12 09:23:14 2008 +0200 @@ -194,7 +194,10 @@ /** * Minimizes physical memory usage */ -//void minimize(); +void minimize() +{ + GC.collect(); +} /*************************************** * disable() temporarily disables garbage collection cycle, enable()