Mercurial > projects > ldc
view tests/testincludes/std/outofmemory.d @ 1411:e57859ca8f1e
Fix `scope(exit) foreach (ref v; arr) foo(v);`
author | Frits van Bommel <fvbommel wxs.nl> |
---|---|
date | Fri, 22 May 2009 21:38:01 +0200 |
parents | ca401c18c24e |
children |
line wrap: on
line source
module std.outofmemory; import std.compat; public import tango.core.Exception; extern (C) void _d_OutOfMemory() { throw cast(OutOfMemoryException) cast(void *) OutOfMemoryException.classinfo.init; }