Mercurial > projects > ldc
view tests/testincludes/std/outofmemory.d @ 1615:3da302cc4966
Merge DMD r294: bugzilla 2816 Sudden-death static assert is not...
bugzilla 2816 Sudden-death static assert is not very useful.
---
dmd/expression.h | 12 ++++++
dmd/staticassert.c | 10 +---
dmd/template.c | 108 ++++++++++++++++++++++++++++++++++++++++++++++++----
dmd/template.h | 2 +
4 files changed, 117 insertions(+), 15 deletions(-)
author | Leandro Lucarella <llucax@gmail.com> |
---|---|
date | Wed, 06 Jan 2010 15:18:21 -0300 |
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; }