annotate tests/testincludes/std/outofmemory.d @ 1651:cb960b882ca3 default tip

bindings were moved to dsource.org/projects/bindings/
author Moritz Warning <moritzwarning@web.de>
date Thu, 20 May 2010 20:05:03 +0200
parents ca401c18c24e
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
368
ca401c18c24e [svn r389] Include std.outofmemory in testincludes.
ChristianK
parents:
diff changeset
1 module std.outofmemory;
ca401c18c24e [svn r389] Include std.outofmemory in testincludes.
ChristianK
parents:
diff changeset
2 import std.compat;
ca401c18c24e [svn r389] Include std.outofmemory in testincludes.
ChristianK
parents:
diff changeset
3
ca401c18c24e [svn r389] Include std.outofmemory in testincludes.
ChristianK
parents:
diff changeset
4 public import tango.core.Exception;
ca401c18c24e [svn r389] Include std.outofmemory in testincludes.
ChristianK
parents:
diff changeset
5
ca401c18c24e [svn r389] Include std.outofmemory in testincludes.
ChristianK
parents:
diff changeset
6 extern (C) void _d_OutOfMemory()
ca401c18c24e [svn r389] Include std.outofmemory in testincludes.
ChristianK
parents:
diff changeset
7 {
ca401c18c24e [svn r389] Include std.outofmemory in testincludes.
ChristianK
parents:
diff changeset
8 throw cast(OutOfMemoryException)
ca401c18c24e [svn r389] Include std.outofmemory in testincludes.
ChristianK
parents:
diff changeset
9 cast(void *)
ca401c18c24e [svn r389] Include std.outofmemory in testincludes.
ChristianK
parents:
diff changeset
10 OutOfMemoryException.classinfo.init;
ca401c18c24e [svn r389] Include std.outofmemory in testincludes.
ChristianK
parents:
diff changeset
11 }