Mercurial > projects > ldc
view tests/testincludes/std/outofmemory.d @ 1591:eaf87e36ce0d
Fix another test returning a non-void in a void function.
author | Christian Kamm <kamm incasoftware de> |
---|---|
date | Sat, 07 Nov 2009 11:16:09 +0100 |
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; }