Mercurial > projects > dstress
view norun/delete_05.d @ 1579:1802d6b67634
[Issue 1666] New: 64-bit gdc programs cannot allocate large arrays
<david@acz.org>
2007-11-12
http://d.puremagic.com/issues/show_bug.cgi?id=1666
author | thomask |
---|---|
date | Fri, 22 Feb 2008 07:54:04 +0000 |
parents | 9faddc0de2ba |
children |
line wrap: on
line source
// $HeadURL$ // $Date$ // $Author$ // @WARNING@ direct access to Phobos's GC // __DSTRESS_ELINE__ 15 module dstress.run.delete_05; import std.gc; union MyUnion{ delete(void* p){ assert(0); } } void test(){ MyUnion t; } int main(){ test(); std.gc.fullCollect(); std.gc.minimize(); return 0; }