view tests/testincludes/std/outofmemory.d @ 583:12bda38ea366

Fixed choosing default target machine without needing to link in targets.
author Tomas Lindquist Olsen <tomas.l.olsen@gmail.com>
date Sun, 07 Sep 2008 17:44:25 -0700
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;
}